From 15ffe4f935e133c17a242cc8c758fd9d9d1fb172 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 22 May 2013 09:17:06 +0200 Subject: Use implicit default constructors ...instead of explicit ones without arguments. The former internally call css.lang.XMultiComponentFactory.createInstanceWithContext while the latter call css.lang.createInstanceWithArgumentsAndContext, which in turn uses css.lang.XInitialization.initialize, which could fail with a less forgiving factory than cppu::OSingleFactoryHelper (cppuhelper/source/factory.cxx) if the service implementation does not support XInitialization. Change-Id: Iff3b2ceacdd3d4e165004b841e5bbf9dbe0b98a5 (cherry picked from commit 66e39940d763586060c4bcc8c3cd213495c40b79) --- offapi/com/sun/star/frame/PopupMenuControllerFactory.idl | 7 +------ offapi/com/sun/star/frame/StatusbarControllerFactory.idl | 7 +------ offapi/com/sun/star/frame/ToolbarControllerFactory.idl | 7 +------ 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/offapi/com/sun/star/frame/PopupMenuControllerFactory.idl b/offapi/com/sun/star/frame/PopupMenuControllerFactory.idl index d873e3da0caf..f6c55b0bf238 100644 --- a/offapi/com/sun/star/frame/PopupMenuControllerFactory.idl +++ b/offapi/com/sun/star/frame/PopupMenuControllerFactory.idl @@ -34,12 +34,7 @@ module com { module sun { module star { module frame { @since OOo 2.0 */ -service PopupMenuControllerFactory : XUIControllerFactory -{ - /** service constructor - */ - create(); -}; +service PopupMenuControllerFactory : XUIControllerFactory; }; }; }; }; diff --git a/offapi/com/sun/star/frame/StatusbarControllerFactory.idl b/offapi/com/sun/star/frame/StatusbarControllerFactory.idl index 7572c6cbe419..ffffabf06699 100644 --- a/offapi/com/sun/star/frame/StatusbarControllerFactory.idl +++ b/offapi/com/sun/star/frame/StatusbarControllerFactory.idl @@ -35,12 +35,7 @@ module com { module sun { module star { module frame { @since OOo 2.0 */ -service StatusbarControllerFactory : XUIControllerFactory -{ - /** service constructor - */ - create(); -}; +service StatusbarControllerFactory : XUIControllerFactory; }; }; }; }; diff --git a/offapi/com/sun/star/frame/ToolbarControllerFactory.idl b/offapi/com/sun/star/frame/ToolbarControllerFactory.idl index 220046e52afc..69b1314808a5 100644 --- a/offapi/com/sun/star/frame/ToolbarControllerFactory.idl +++ b/offapi/com/sun/star/frame/ToolbarControllerFactory.idl @@ -31,12 +31,7 @@ module com { module sun { module star { module frame { @since OOo 2.0 */ -service ToolbarControllerFactory : XUIControllerFactory -{ - /** service constructor - */ - create(); -}; +service ToolbarControllerFactory : XUIControllerFactory; }; }; }; }; -- cgit v1.2.3