From 07db16bbb3b4385de87fa2f84db4854624d41698 Mon Sep 17 00:00:00 2001 From: "mhammond%skippinet.com.au" Date: Sun, 15 Oct 2006 10:56:05 +0000 Subject: [PATCH] Whitespace normalization - not part of the default build. git-svn-id: svn://10.0.0.236/trunk@213668 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/python/xpcom/src/VariantUtils.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mozilla/extensions/python/xpcom/src/VariantUtils.cpp b/mozilla/extensions/python/xpcom/src/VariantUtils.cpp index 80933494c55..956ed5722a0 100644 --- a/mozilla/extensions/python/xpcom/src/VariantUtils.cpp +++ b/mozilla/extensions/python/xpcom/src/VariantUtils.cpp @@ -112,8 +112,8 @@ PyObject_FromNSString( const nsACString &s, PRBool bAssumeUTF8 /*= PR_FALSE */) Py_INCREF(Py_None); } else { if (bAssumeUTF8) { - const nsCString temp(s); - ret = PyUnicode_DecodeUTF8(temp.get(), temp.Length(), NULL); + const nsCString temp(s); + ret = PyUnicode_DecodeUTF8(temp.get(), temp.Length(), NULL); } else { nsAString::size_type len = s.Length(); ret = PyString_FromStringAndSize(NULL, len); @@ -121,7 +121,7 @@ PyObject_FromNSString( const nsACString &s, PRBool bAssumeUTF8 /*= PR_FALSE */) return NULL; // Need "CopyAsciiTo"!? Worse - since libxul, // nsACString appears to have no const_iterator! - char* dest = PyString_AS_STRING(ret); + char* dest = PyString_AS_STRING(ret); nsAString::size_type i; for (i=0;i