summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-11 22:47:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-11 22:47:53 +0100
commit888c28dd07ad97454231e0ff7e976f311b39e40c (patch)
tree84e5d520bf8173003c52cdf4df932e0c8846a4c8 /svl
parent0214898aa695bc17a40007e82dad3542d855ea70 (diff)
Clean up previous commit
Change-Id: I6ecc801d19c54ff93559bff627b99c656e71a6e4
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/supservs.hxx15
-rw-r--r--svl/source/uno/pathservice.cxx5
-rw-r--r--svl/util/svl.component2
3 files changed, 7 insertions, 15 deletions
diff --git a/svl/source/numbers/supservs.hxx b/svl/source/numbers/supservs.hxx
index e49f3996835c..da04e95e1e70 100644
--- a/svl/source/numbers/supservs.hxx
+++ b/svl/source/numbers/supservs.hxx
@@ -25,11 +25,6 @@
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-extern "C" ::com::sun::star::uno::XInterface *
- SAL_CALL com_sun_star_uno_util_numbers_SvNumberFormatsSupplierServiceObject_get_implementation(
- ::com::sun::star::uno::XComponentContext* context,
- ::com::sun::star::uno::Sequence<css::uno::Any> const &);
-
/**
* SvNumberFormatsSupplierServiceObject - a number formats supplier which
* - can be instantiated as an service
@@ -38,16 +33,10 @@ extern "C" ::com::sun::star::uno::XInterface *
* with a specific language (i.e. ::com::sun::star::lang::Locale)
*/
class SvNumberFormatsSupplierServiceObject
- :protected SvNumberFormatsSupplierObj
+ :public SvNumberFormatsSupplierObj
,public ::com::sun::star::lang::XInitialization
,public ::com::sun::star::lang::XServiceInfo
-{ // don't want the Set-/GetNumberFormatter to be accessible from outside
-
- friend ::com::sun::star::uno::XInterface *
- SAL_CALL com_sun_star_uno_util_numbers_SvNumberFormatsSupplierServiceObject_get_implementation(
- ::com::sun::star::uno::XComponentContext* context,
- ::com::sun::star::uno::Sequence<css::uno::Any> const &);
-
+{
protected:
SvNumberFormatter* m_pOwnFormatter;
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
diff --git a/svl/source/uno/pathservice.cxx b/svl/source/uno/pathservice.cxx
index 8e02fd804482..00e81d8915fb 100644
--- a/svl/source/uno/pathservice.cxx
+++ b/svl/source/uno/pathservice.cxx
@@ -26,7 +26,10 @@
#include <com/sun/star/frame/XConfigManager.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
+
+namespace com { namespace sun { namespace star { namespace uno {
+ class XComponentContext;
+} } } }
class PathService : public ::cppu::WeakImplHelper2< css::frame::XConfigManager, css::lang::XServiceInfo >
{
diff --git a/svl/util/svl.component b/svl/util/svl.component
index e50f91874abc..eabd64d46085 100644
--- a/svl/util/svl.component
+++ b/svl/util/svl.component
@@ -18,7 +18,7 @@
-->
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
- prefix="svl" xmlns="http://openoffice.org/2010/uno-components">
+ xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.svl.PathService"
constructor="com_sun_star_comp_svl_PathService_get_implementation">
<service name="com.sun.star.config.SpecialConfigManager"/>