summaryrefslogtreecommitdiff
path: root/sw/source/ui/uno/unofreg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/uno/unofreg.cxx')
-rw-r--r--sw/source/ui/uno/unofreg.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/source/ui/uno/unofreg.cxx b/sw/source/ui/uno/unofreg.cxx
index cda4584fa608..995c263f8bec 100644
--- a/sw/source/ui/uno/unofreg.cxx
+++ b/sw/source/ui/uno/unofreg.cxx
@@ -133,6 +133,8 @@ com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL _crea
}
+#include "SwPanelFactory.hxx"
+
#ifdef __cplusplus
extern "C"
{
@@ -352,6 +354,13 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL sw_component_getFactory(
LayoutDumpFilter_createInstance,
LayoutDumpFilter_getSupportedServiceNames() );
}
+ else if ( ::sw::sidebar::SwPanelFactory::getImplementationName().equalsAsciiL( pImplName, nImplNameLen ) )
+ {
+ xFactory = ::cppu::createSingleFactory( xMSF,
+ ::sw::sidebar::SwPanelFactory::getImplementationName(),
+ ::sw::sidebar::SwPanelFactory::createInstance,
+ ::sw::sidebar::SwPanelFactory::getSupportedServiceNames() );
+ }
else if( comp_FinalThreadManager::_getImplementationName().equalsAsciiL(
pImplName, nImplNameLen ) )
{