diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-23 09:40:48 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-23 10:28:40 +0100 |
commit | c04f3c0f794e8c608fade8c6142db13c32e6f4e7 (patch) | |
tree | 31a137a18863dbb39740c56a5b44d8b9d943086e /svtools/source/uno/miscservices.cxx | |
parent | a587899cb340d2a5bc05392e1817ba72718706f1 (diff) |
svt: use constructor feature for HatchWindowFactory.
Change-Id: I0881c0994342816b8f0ac0281d884ce618d5e285
Diffstat (limited to 'svtools/source/uno/miscservices.cxx')
-rw-r--r-- | svtools/source/uno/miscservices.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/svtools/source/uno/miscservices.cxx b/svtools/source/uno/miscservices.cxx index 60154934b78e..62f60cbccc50 100644 --- a/svtools/source/uno/miscservices.cxx +++ b/svtools/source/uno/miscservices.cxx @@ -27,7 +27,6 @@ #include <osl/diagnose.h> #include <uno/mapping.hxx> #include "documentcloser.hxx" -#include "hatchwindowfactory.hxx" #include "hatchwindow.hxx" #include "provider.hxx" #include "unowizard.hxx" @@ -127,13 +126,6 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL svt_component_getFactory ( ODocumentCloser::impl_staticCreateSelfInstance, ODocumentCloser::impl_staticGetSupportedServiceNames()); } - else if (rtl_str_compare (pImplementationName, "com.sun.star.comp.embed.HatchWindowFactory") == 0) - { - xFactory = ::cppu::createOneInstanceFactory(xSMgr, - OHatchWindowFactory::impl_staticGetImplementationName(), - OHatchWindowFactory::impl_staticCreateSelfInstance, - OHatchWindowFactory::impl_staticGetSupportedServiceNames()); - } else { pResult = comphelper::service_decl::component_getFactoryHelper( |