diff options
author | Noel Grandin <noel@peralex.com> | 2012-08-29 09:32:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-03 15:55:06 +0200 |
commit | 3a36408b73d8a9be43cd9f4570537ff1d80c0114 (patch) | |
tree | f46fe36878b77836f9ef3606e162e87ab84bdcb2 /svl | |
parent | bc00717bb7a2b48885ca356fb0a966acbe72dca9 (diff) |
fdo#46808, Adapt util::NumberFormatter UNO service to new style
Create a merged XNumberFormatter2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Change-Id: I57f35cde0a9dbbe91c1d2c3d068cb3a97c7245e3
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/numfmuno.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/svl/source/numbers/numfmuno.hxx b/svl/source/numbers/numfmuno.hxx index 33a50f5e0c31..1f6c4ff1964e 100644 --- a/svl/source/numbers/numfmuno.hxx +++ b/svl/source/numbers/numfmuno.hxx @@ -20,7 +20,7 @@ #ifndef _NUMFMUNO_HXX #define _NUMFMUNO_HXX -#include <com/sun/star/util/XNumberFormatter.hpp> +#include <com/sun/star/util/XNumberFormatter2.hpp> #include <com/sun/star/util/XNumberFormatPreviewer.hpp> #include <com/sun/star/util/XNumberFormats.hpp> #include <com/sun/star/util/XNumberFormatTypes.hpp> @@ -37,9 +37,8 @@ class SvNumberFormatsSupplierObj; // SvNumberFormatterServiceObj wird global als Service angemeldet -class SvNumberFormatterServiceObj : public cppu::WeakImplHelper3< - com::sun::star::util::XNumberFormatter, - com::sun::star::util::XNumberFormatPreviewer, +class SvNumberFormatterServiceObj : public cppu::WeakImplHelper2< + com::sun::star::util::XNumberFormatter2, com::sun::star::lang::XServiceInfo> { private: |