[PATCH] fdo#46808, Adapt UNO services to the new style, Part 1-2
Gergő Mocsi (via_Code_Review)
gerrit at gerrit.libreoffice.org
Thu Feb 14 03:27:22 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/2146
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/46/2146/1
fdo#46808, Adapt UNO services to the new style, Part 1-2
Written constructor for opffapi/com/sun/star/accessibility/AccessBridge.idl and rewritten to new style in offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
Change-Id: I88dc745cddf9956c930c1216c697dd142e33c846
---
M offapi/com/sun/star/accessibility/AccessBridge.idl
M offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/offapi/com/sun/star/accessibility/AccessBridge.idl b/offapi/com/sun/star/accessibility/AccessBridge.idl
index 7d28f9c..f9205c0 100644
--- a/offapi/com/sun/star/accessibility/AccessBridge.idl
+++ b/offapi/com/sun/star/accessibility/AccessBridge.idl
@@ -19,9 +19,9 @@
#ifndef __com_sun_star_accessibility_AccessBridge_idl__
#define __com_sun_star_accessibility_AccessBridge_idl__
-module com { module sun { module star { module lang {
- published interface XInitialization;
-}; }; }; };
+#include <com/sun/star/lang/XComponent.idl>
+#include <com/sun/star/awt/XExtendedToolkit.idl>
+
module com { module sun { module star { module accessibility {
@@ -35,7 +35,10 @@
@since OOo 1.1.2
*/
-service AccessBridge : com::sun::star::lang::XInitialization;
+service AccessBridge : com::sun::star::lang::XComponent
+{
+ createWithToolkit([in] com::sun::star::awt::XExtendedToolkit toolkit);
+};
}; }; }; };
diff --git a/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl b/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
index e4efdc6..4494748 100644
--- a/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
+++ b/offapi/com/sun/star/awt/tab/UnoControlTabPageModel.idl
@@ -27,10 +27,7 @@
/** specifies the standard model of a XTabPageModel.
@since OOo 3.4
*/
-published service UnoControlTabPageModel
-{
- interface XTabPageModel;
-};
+published service UnoControlTabPageModel : XTabPageModel;
}; }; }; }; };
--
To view, visit https://gerrit.libreoffice.org/2146
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I88dc745cddf9956c930c1216c697dd142e33c846
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Gergő Mocsi <gmocsi91 at gmail.com>
More information about the LibreOffice
mailing list