summaryrefslogtreecommitdiff
path: root/svl/source/uno/pathservice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/uno/pathservice.cxx')
-rw-r--r--svl/source/uno/pathservice.cxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/svl/source/uno/pathservice.cxx b/svl/source/uno/pathservice.cxx
index 91a640d36347..8e02fd804482 100644
--- a/svl/source/uno/pathservice.cxx
+++ b/svl/source/uno/pathservice.cxx
@@ -26,8 +26,7 @@
#include <com/sun/star/frame/XConfigManager.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-
-#include <registerservices.hxx>
+#include <com/sun/star/uno/XComponentContext.hpp>
class PathService : public ::cppu::WeakImplHelper2< css::frame::XConfigManager, css::lang::XServiceInfo >
{
@@ -81,13 +80,11 @@ public:
};
-
-css::uno::Reference< css::uno::XInterface > PathService_CreateInstance (
- SAL_UNUSED_PARAMETER const css::uno::Reference<
- css::lang::XMultiServiceFactory > &)
+extern "C" SAL_DLLPUBLIC_EXPORT ::com::sun::star::uno::XInterface* SAL_CALL
+com_sun_star_comp_svl_PathService_get_implementation(::com::sun::star::uno::XComponentContext*,
+ ::com::sun::star::uno::Sequence<css::uno::Any> const &)
{
- return css::uno::Reference< css::uno::XInterface >(
- static_cast< cppu::OWeakObject* >(new PathService()));
+ return cppu::acquire(new PathService());
}