summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnumfe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/xmlnumfe.cxx')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index e1e62eef0249..e44163c3ab24 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -44,9 +44,6 @@
#include <com/sun/star/lang/Locale.hpp>
#include <rtl/ustrbuf.hxx>
-// #110680#
-//#include <comphelper/processfactory.hxx>
-
#include <com/sun/star/i18n/NativeNumberXmlAttributes.hpp>
#include <xmloff/xmlnumfe.hxx>
@@ -74,8 +71,6 @@ using namespace ::svt;
//-------------------------------------------------------------------------
-// 4th condition for text formats doesn't work
-//#define XMLNUM_MAX_PARTS 4
#define XMLNUM_MAX_PARTS 3
//-------------------------------------------------------------------------
@@ -270,9 +265,6 @@ SvXMLNumFmtExport::SvXMLNumFmtExport(
{
lang::Locale aLocale( MsLangId::convertLanguageToLocale( MsLangId::getSystemLanguage() ) );
- // #110680#
- // pCharClass = new CharClass( ::comphelper::getProcessServiceFactory(), aLocale );
- // pLocaleData = new LocaleDataWrapper( ::comphelper::getProcessServiceFactory(), aLocale );
pCharClass = new CharClass( rExport.getServiceFactory(), aLocale );
pLocaleData = new LocaleDataWrapper( rExport.getServiceFactory(), aLocale );
}
@@ -308,9 +300,6 @@ SvXMLNumFmtExport::SvXMLNumFmtExport(
{
lang::Locale aLocale( MsLangId::convertLanguageToLocale( MsLangId::getSystemLanguage() ) );
- // #110680#
- // pCharClass = new CharClass( ::comphelper::getProcessServiceFactory(), aLocale );
- // pLocaleData = new LocaleDataWrapper( ::comphelper::getProcessServiceFactory(), aLocale );
pCharClass = new CharClass( rExport.getServiceFactory(), aLocale );
pLocaleData = new LocaleDataWrapper( rExport.getServiceFactory(), aLocale );
}
@@ -815,9 +804,6 @@ sal_Bool SvXMLNumFmtExport::WriteTextWithCurrency_Impl( const OUString& rString,
sal_Bool bRet = sal_False;
-// pLocaleData->setLocale( rLocale );
-// String sCurString = pLocaleData->getCurrSymbol();
-
LanguageType nLang = MsLangId::convertLocaleToLanguage( rLocale );
pFormatter->ChangeIntl( nLang );
String sCurString, sDummy;