summaryrefslogtreecommitdiff
path: root/svtools/source/uno/miscservices.cxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2013-12-23 10:27:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-08 14:35:00 +0100
commitceffe83515be125df6c3811760ec59b95942a978 (patch)
treea1ed06c04f25e005bfcca2e933a73b9c1e4b40e9 /svtools/source/uno/miscservices.cxx
parent0196a81910753f3d14add062b83a03ca83ca9e0b (diff)
svt: Use constructor feature for ODocumentCloser.
Change-Id: Ia1a9593e3d1dbc41cf25f6a983cb340f48538226 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools/source/uno/miscservices.cxx')
-rw-r--r--svtools/source/uno/miscservices.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/svtools/source/uno/miscservices.cxx b/svtools/source/uno/miscservices.cxx
index 4a7ec7396cbd..e12db4529cbf 100644
--- a/svtools/source/uno/miscservices.cxx
+++ b/svtools/source/uno/miscservices.cxx
@@ -26,7 +26,6 @@
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <osl/diagnose.h>
#include <uno/mapping.hxx>
-#include "documentcloser.hxx"
#include "hatchwindow.hxx"
#include "unowizard.hxx"
@@ -109,13 +108,6 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL svt_component_getFactory (
SvFilterOptionsDialog_CreateInstance,
aServiceNames);
}
- else if (rtl_str_compare (pImplementationName, "com.sun.star.comp.embed.DocumentCloser") == 0)
- {
- xFactory = ::cppu::createOneInstanceFactory(xSMgr,
- ODocumentCloser::impl_staticGetImplementationName(),
- ODocumentCloser::impl_staticCreateSelfInstance,
- ODocumentCloser::impl_staticGetSupportedServiceNames());
- }
else
{
pResult = comphelper::service_decl::component_getFactoryHelper(