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; }