summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnumfi.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-02 10:19:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-02 12:45:13 +0100
commit857a26eb173f9e0a2ac550da14812ba80500f114 (patch)
treea67413a880275a360a9d1ac693465c1d0e4163dd /xmloff/source/style/xmlnumfi.cxx
parent741dd512af5bd448c231cbd945e545cd79377858 (diff)
XubString->OUString
Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f
Diffstat (limited to 'xmloff/source/style/xmlnumfi.cxx')
-rw-r--r--xmloff/source/style/xmlnumfi.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index 6d4994ad6753..c0035bbd493a 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -1764,9 +1764,8 @@ void SvXMLNumFormatContext::AddNumber( const SvXMLNumberInfo& rInfo )
if ( nEmbeddedCount )
bGrouping = sal_False; // grouping and embedded characters can't be used together
- String aNumStr;
sal_uInt32 nStdIndex = pFormatter->GetStandardIndex( nFormatLang );
- pFormatter->GenerateFormat( aNumStr, nStdIndex, nFormatLang,
+ String aNumStr = pFormatter->GenerateFormat( nStdIndex, nFormatLang,
bGrouping, sal_False, nGenPrec, nLeading );
if ( rInfo.nExpDigits >= 0 && nLeading == 0 && !bGrouping && nEmbeddedCount == 0 )