Clean up previous commit

Change-Id: I94a0aeac85918f2eb91421e46e75283f839e7425
This commit is contained in:
Stephan Bergmann
2015-03-12 08:16:47 +01:00
parent 4dafecfe4a
commit c1e4a1d347
4 changed files with 1 additions and 16 deletions

View File

@@ -306,12 +306,6 @@ Sequence< OUString > SlideLayoutController_getSupportedServiceNames() throw( Ru
return aSNS;
}
Reference< XInterface > SAL_CALL SlideLayoutController_createInstance( const Reference< XMultiServiceFactory >& rSMgr )
{
return static_cast< cppu::OWeakObject * >(
new SlideLayoutController( comphelper::getComponentContext(rSMgr), ".uno:AssignLayout", false ));
}
OUString InsertSlideController_getImplementationName() throw (css::uno::RuntimeException)
{
return OUString( "com.sun.star.comp.sd.InsertSlideController" );

View File

@@ -268,7 +268,7 @@ com_sun_star_comp_Draw_framework_module_ModuleController_get_implementation(
::com::sun::star::uno::XComponentContext* context,
::com::sun::star::uno::Sequence<css::uno::Any> const &)
{
css::uno::Reference< css::drawing::framework::XModuleController > xModCont ( sd::framework::ModuleController::CreateInstance(context) );
css::uno::Reference< css::uno::XInterface > xModCont ( sd::framework::ModuleController::CreateInstance(context) );
xModCont->acquire();
return xModCont.get();
}

View File

@@ -35,13 +35,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL SdPresentationDocument_crea
OUString SdPresentationDocument_getImplementationName() throw( css::uno::RuntimeException );
css::uno::Sequence< OUString > SAL_CALL SdPresentationDocument_getSupportedServiceNames() throw( css::uno::RuntimeException );
namespace sd
{
OUString InsertSlideController_getImplementationName() throw( css::uno::RuntimeException );
css::uno::Sequence< OUString > InsertSlideController_getSupportedServiceNames() throw( css::uno::RuntimeException );
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -33,8 +33,6 @@
using namespace com::sun::star;
using namespace ::sd;
// Declaration and initialization of a map from service names to locally
// unique factory identifiers.