summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-11-05 01:31:49 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-18 19:57:21 -0600
commitc77cebdf33b5fde38879233ee8c6fb6390bfcbb8 (patch)
tree5d66c6be03b67c2ec4885f329ca7ee0f61553946 /xmloff
parent52c492ca729295ab53b110edf525a3eed25872f7 (diff)
svl: convert GetQuoteEnd to OUString
Change-Id: I79bd0aecb98b7b47ee892ed4ce1b53abcd09ff44
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index a2f85a499386..3005cb476126 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -771,8 +771,8 @@ xub_StrLen lcl_FindSymbol( const String& sUpperStr, const String& sCurString )
if (nCPos != STRING_NOTFOUND)
{
// in Quotes?
- xub_StrLen nQ = SvNumberformat::GetQuoteEnd( sUpperStr, nCPos );
- if ( nQ == STRING_NOTFOUND )
+ sal_Int32 nQ = SvNumberformat::GetQuoteEnd( sUpperStr, nCPos );
+ if ( nQ < 0 )
{
// dm can be escaped as "dm or \d
sal_Unicode c;