summaryrefslogtreecommitdiff
path: root/unotools/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-11-05 15:07:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-11-27 18:18:06 +0100
commitc2bbc9797c2fef9078c11460100996972bebd971 (patch)
tree914381462eceda8e659d773290b18a27c3825364 /unotools/inc
parent60fa5057039d2413d56813df4d45e5cfdfbb40ac (diff)
fdo#46808, use service constructor for i18n::NativeNumberSupplier
Change-Id: I092ca8f912e26f0743909920c6e740d648b8677e
Diffstat (limited to 'unotools/inc')
-rw-r--r--unotools/inc/unotools/nativenumberwrapper.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/unotools/inc/unotools/nativenumberwrapper.hxx b/unotools/inc/unotools/nativenumberwrapper.hxx
index b8bac89a7cc0..dea1ee01e0f7 100644
--- a/unotools/inc/unotools/nativenumberwrapper.hxx
+++ b/unotools/inc/unotools/nativenumberwrapper.hxx
@@ -23,15 +23,14 @@
#include <com/sun/star/i18n/XNativeNumberSupplier.hpp>
namespace com { namespace sun { namespace star {
- namespace lang {
- class XMultiServiceFactory;
+ namespace uno {
+ class XComponentContext;
}
}}}
class UNOTOOLS_DLLPUBLIC NativeNumberWrapper
{
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMgr;
::com::sun::star::uno::Reference< ::com::sun::star::i18n::XNativeNumberSupplier > xNNS;
// not implemented, prevent usage
NativeNumberWrapper( const NativeNumberWrapper& );
@@ -39,7 +38,7 @@ class UNOTOOLS_DLLPUBLIC NativeNumberWrapper
public:
NativeNumberWrapper(
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & xSF
+ const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rxContext
);
~NativeNumberWrapper();