From 2f18bcdeee2a2a8fa74022a545fd56b3d2e399ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 3 Oct 2011 13:37:47 +0100 Subject: [PATCH] WaE: add braces --- sc/source/core/tool/reftokenhelper.cxx | 2 ++ 1 file changed, 2 insertions(+) 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; }