summaryrefslogtreecommitdiff
path: root/oox/source/xls/numberformatsbuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/xls/numberformatsbuffer.cxx')
-rw-r--r--oox/source/xls/numberformatsbuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/xls/numberformatsbuffer.cxx b/oox/source/xls/numberformatsbuffer.cxx
index c77381b2a1c8..782c138d43e2 100644
--- a/oox/source/xls/numberformatsbuffer.cxx
+++ b/oox/source/xls/numberformatsbuffer.cxx
@@ -1950,7 +1950,7 @@ NumberFormatsBuffer::NumberFormatsBuffer( const WorkbookHelper& rHelper ) :
// get the current locale
try
{
- Reference< XMultiServiceFactory > xConfigProv( getGlobalFactory()->createInstance(
+ Reference< XMultiServiceFactory > xConfigProv( getBaseFilter().getServiceFactory()->createInstance(
CREATE_OUSTRING( "com.sun.star.configuration.ConfigurationProvider" ) ), UNO_QUERY_THROW );
// try user-defined locale setting