diff options
Diffstat (limited to 'xmloff/source/style/XMLClipPropertyHandler.cxx')
-rw-r--r-- | xmloff/source/style/XMLClipPropertyHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/XMLClipPropertyHandler.cxx b/xmloff/source/style/XMLClipPropertyHandler.cxx index e55e6ee4a87d..ec0e1d59de1a 100644 --- a/xmloff/source/style/XMLClipPropertyHandler.cxx +++ b/xmloff/source/style/XMLClipPropertyHandler.cxx @@ -66,7 +66,7 @@ sal_Bool XMLClipPropertyHandler::importXML( const OUString& rStrImpValue, uno::A sal_Bool bRet = sal_False; sal_Int32 nLen = rStrImpValue.getLength(); if( nLen > 6 && - 0 == rStrImpValue.compareTo( GetXMLToken(XML_RECT), 4 ) && + rStrImpValue.startsWith( GetXMLToken(XML_RECT)) && rStrImpValue[4] == '(' && rStrImpValue[nLen-1] == ')' ) { |