diff options
author | Noel Grandin <noel@peralex.com> | 2012-12-04 13:18:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2012-12-06 13:20:31 +0200 |
commit | 773ad75b0dbc4dac1cae704c726b5a2d67ae1146 (patch) | |
tree | b95386a6639835d7751a6b3aa7bcdfb114f026f8 /forms/source/inc/limitedformats.hxx | |
parent | Fix: <errno.h> needs to be included under Linux (diff) | |
download | core-773ad75b0dbc4dac1cae704c726b5a2d67ae1146.tar.gz core-773ad75b0dbc4dac1cae704c726b5a2d67ae1146.zip |
fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new style
Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9
Diffstat (limited to 'forms/source/inc/limitedformats.hxx')
-rw-r--r-- | forms/source/inc/limitedformats.hxx | 6 |
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); |