[Libreoffice-commits] core.git: offapi/com
Stephan Bergmann
sbergman at redhat.com
Wed May 22 00:22:59 PDT 2013
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(-)
New commits:
commit 66e39940d763586060c4bcc8c3cd213495c40b79
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 22 09:17:06 2013 +0200
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
diff --git a/offapi/com/sun/star/frame/PopupMenuControllerFactory.idl b/offapi/com/sun/star/frame/PopupMenuControllerFactory.idl
index d873e3d..f6c55b0 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 7572c6c..ffffabf 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 220046e..69b1314 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;
}; }; }; };
More information about the Libreoffice-commits
mailing list