summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-03 13:37:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-03 13:37:47 +0100
commit2f18bcdeee2a2a8fa74022a545fd56b3d2e399ac (patch)
tree6a31025c51790fbec667ba1e2b83ae8e4c2d5628 /sc
parentf20ffbd845feda793e2bc31789fb8b98fe5a4886 (diff)
WaE: add braces
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/reftokenhelper.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/tool/reftokenhelper.cxx b/sc/source/core/tool/reftokenhelper.cxx
index 5d6cbfbd84b7..046385545f70 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;
}