WaE: add braces

This commit is contained in:
Caolán McNamara
2011-10-03 13:37:47 +01:00
parent f20ffbd845
commit 2f18bcdeee

View File

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