diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-03 13:37:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-03 13:37:47 +0100 |
commit | 2f18bcdeee2a2a8fa74022a545fd56b3d2e399ac (patch) | |
tree | 6a31025c51790fbec667ba1e2b83ae8e4c2d5628 /sc | |
parent | WaE: unreferenced formal parameters in the !SOLAR_JAVA case (diff) | |
download | core-2f18bcdeee2a2a8fa74022a545fd56b3d2e399ac.tar.gz core-2f18bcdeee2a2a8fa74022a545fd56b3d2e399ac.zip |
WaE: add braces
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/reftokenhelper.cxx | 2 |
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; } |