diff options
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 076b47cdaddf..81bd3c001f4b 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -581,7 +581,7 @@ static void lcl_EnquoteIfNecessary( OUStringBuffer& rContent, const SvXMLNumForm // the percent character in percentage styles must be left out of quoting // (one occurrence is enough even if there are several percent characters in the string) - OUString aString( rContent.getStr() ); + OUString aString( rContent.toString() ); sal_Int32 nPos = aString.indexOf( '%' ); if ( nPos >= 0 ) { |