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 c2022fa28a26..cde00392917c 100644
--- a/oox/source/xls/numberformatsbuffer.cxx
+++ b/oox/source/xls/numberformatsbuffer.cxx
@@ -1949,7 +1949,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