[Libreoffice-commits] .: sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Oct 3 05:37:51 PDT 2011
sc/source/core/tool/reftokenhelper.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 2f18bcdeee2a2a8fa74022a545fd56b3d2e399ac
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Oct 3 13:37:47 2011 +0100
WaE: add braces
diff --git a/sc/source/core/tool/reftokenhelper.cxx b/sc/source/core/tool/reftokenhelper.cxx
index 5d6cbfb..0463855 100644
--- a/sc/source/core/tool/reftokenhelper.cxx
+++ b/sc/source/core/tool/reftokenhelper.cxx
@@ -49,10 +49,12 @@ using ::rtl::OUString;
static bool lcl_mayBeRangeConstString( const OUString &aRangeStr )
{
if( aRangeStr.getLength() >= 3 && aRangeStr.endsWithAsciiL( "\"", 1 ) )
+ {
if( aRangeStr[0] == '"' )
return true;
else if( aRangeStr[0] == '=' && aRangeStr[1] == '"' )
return true;
+ }
return false;
}
More information about the Libreoffice-commits
mailing list