summaryrefslogtreecommitdiff
path: root/dbaccess/source/filter/xml
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-01-08 15:29:57 +0200
committerNoel Grandin <noel@peralex.com>2013-01-15 09:56:03 +0200
commitabcbababca2ff10bb78d36cf1a625b9d615eaa9a (patch)
tree1c95f7dc1e7f20c013f13c1f1fff637853e23256 /dbaccess/source/filter/xml
parent251f1b0b38be7d1267339898e44e320f05849e22 (diff)
fdo#46808, Convert comphelper::MimeConfigurationHelper to XComponentContext
Change-Id: I74b4f0c4a84f02b218102405eaba24cf47f654ce
Diffstat (limited to 'dbaccess/source/filter/xml')
-rw-r--r--dbaccess/source/filter/xml/xmlfilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx
index a625398598b2..21c2da5eb152 100644
--- a/dbaccess/source/filter/xml/xmlfilter.cxx
+++ b/dbaccess/source/filter/xml/xmlfilter.cxx
@@ -144,7 +144,7 @@ namespace dbaxml
aArgs[nLen].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Hidden"));
aArgs[nLen++].Value <<= sal_True;
- ::comphelper::MimeConfigurationHelper aHelper(m_xFactory);
+ ::comphelper::MimeConfigurationHelper aHelper( comphelper::getComponentContext(m_xFactory) );
SvtModuleOptions aModuleOptions;
uno::Reference< frame::XModel > xModel(xFrameLoad->loadComponentFromURL(
aModuleOptions.GetFactoryEmptyDocumentURL( aModuleOptions.ClassifyFactoryByServiceName( aHelper.GetDocServiceNameFromMediaType(MIMETYPE_OASIS_OPENDOCUMENT_SPREADSHEET) )),