summaryrefslogtreecommitdiff
path: root/forms/source/inc/limitedformats.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/inc/limitedformats.hxx')
-rw-r--r--forms/source/inc/limitedformats.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/inc/limitedformats.hxx b/forms/source/inc/limitedformats.hxx
index 814f4920eb5c..9f22b1832bb6 100644
--- a/forms/source/inc/limitedformats.hxx
+++ b/forms/source/inc/limitedformats.hxx
@@ -22,7 +22,7 @@
#include <osl/mutex.hxx>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/beans/XFastPropertySet.hpp>
//.........................................................................
@@ -57,7 +57,7 @@ namespace frm
pass the same value here share one table.</p>
*/
OLimitedFormats(
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext,
const sal_Int16 _nClassId
);
~OLimitedFormats();
@@ -82,7 +82,7 @@ namespace frm
getFormatsSupplier() const { return s_xStandardFormats; }
private:
- void acquireSupplier(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB);
+ void acquireSupplier(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext);
void releaseSupplier();
static void ensureTableInitialized(const sal_Int16 _nTableId);