From 857a26eb173f9e0a2ac550da14812ba80500f114 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 2 Oct 2012 10:19:18 +0100 Subject: XubString->OUString Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f --- xmloff/source/style/xmlnumfi.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xmloff') 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 ) -- cgit