diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-30 10:04:05 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-31 13:25:46 +0100 |
commit | 02eb7511f99d2e2322c57ea86695c3db87a037fd (patch) | |
tree | 53c25abf4186b04ba429fd127f2fbdf0c7b7d5de /svx/source/unodraw/unoctabl.cxx | |
parent | abcca7ae5ff80eb53e239f96392832d4046f460d (diff) |
svx: Use constructor feature for sidebar::PanelFactory.
Change-Id: Iafc01d943c9862a8e8775b79b81c885ab9565dbc
Diffstat (limited to 'svx/source/unodraw/unoctabl.cxx')
-rw-r--r-- | svx/source/unodraw/unoctabl.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/svx/source/unodraw/unoctabl.cxx b/svx/source/unodraw/unoctabl.cxx index 6963cf9b52bc..085b36f87060 100644 --- a/svx/source/unodraw/unoctabl.cxx +++ b/svx/source/unodraw/unoctabl.cxx @@ -230,8 +230,6 @@ uno::Reference< uno::XInterface > SAL_CALL create_EnhancedCustomShapeEngine( con #include "osl/diagnose.h" #include "cppuhelper/factory.hxx" #include <svx/sdr/primitive2d/primitiveFactory2d.hxx> -#include "sidebar/PanelFactory.hxx" - extern "C" { @@ -366,14 +364,6 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL svx_component_getFactory ( ::svx::SvXMLGraphicExportHelper_createInstance, ::svx::SvXMLGraphicExportHelper_getSupportedServiceNames() ); } - else if (::svx::sidebar::PanelFactory::getImplementationName().equalsAscii(pImplName)) - { - xFactory = ::cppu::createSingleFactory( - reinterpret_cast<lang::XMultiServiceFactory*>(pServiceManager), - ::svx::sidebar::PanelFactory::getImplementationName(), - ::svx::sidebar::PanelFactory::createInstance, - ::svx::sidebar::PanelFactory::getSupportedServiceNames()); - } if( xFactory.is()) { |