diff options
author | Noel Grandin <noel@peralex.com> | 2012-08-28 16:17:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-03 15:55:05 +0200 |
commit | 7a2ef79376c306c457f98f8574d13c7fa7f92dda (patch) | |
tree | 9392ee4d7cf0fe48fee3a6595dd0460c96ba6319 /offapi/com/sun/star/datatransfer | |
parent | d110a0125251119d71f466b62b5250eae4be5f88 (diff) |
Remove unnecessary XTypeProvider from IDL
XTypeProvider does not need to be explicitly declared in interface or service
definitions, it is handling automagically by the cppuhelpers.
Along the way, convert service definitions that now only have one interface into
new-style UNO service definitions.
Change-Id: Id1706b5afdc2c49f89c583eef8cf0a8a0721713f
Diffstat (limited to 'offapi/com/sun/star/datatransfer')
9 files changed, 5 insertions, 65 deletions
diff --git a/offapi/com/sun/star/datatransfer/DataFormatTranslator.idl b/offapi/com/sun/star/datatransfer/DataFormatTranslator.idl index f8c174767698..3dfa5e869fc5 100644 --- a/offapi/com/sun/star/datatransfer/DataFormatTranslator.idl +++ b/offapi/com/sun/star/datatransfer/DataFormatTranslator.idl @@ -20,8 +20,6 @@ #ifndef __com_sun_star_datatransfer_DataFormatTranslator_idl__ #define __com_sun_star_datatransfer_DataFormatTranslator_idl__ -#include <com/sun/star/lang/XTypeProvider.idl> - module com { module sun { module star { module datatransfer { @@ -35,17 +33,10 @@ module com { module sun { module star { module datatransfer { @see com::sun::star::datatransfer::XDataFormatTranslator @see com::sun::star::datatransfer::DataFlavor + + Converts a <type>DataFlavor</type> to system data types and vice versa. */ -published service DataFormatTranslator -{ - /** Converts a <type>DataFlavor</type> to system data types and vice versa. - */ - interface XDataFormatTranslator; - - /** Service should always support this interface. - */ - interface com::sun::star::lang::XTypeProvider; -}; +published service DataFormatTranslator : XDataFormatTranslator; }; }; }; }; diff --git a/offapi/com/sun/star/datatransfer/MimeContentTypeFactory.idl b/offapi/com/sun/star/datatransfer/MimeContentTypeFactory.idl index 0e7934091e9b..093f74dc5fdc 100644 --- a/offapi/com/sun/star/datatransfer/MimeContentTypeFactory.idl +++ b/offapi/com/sun/star/datatransfer/MimeContentTypeFactory.idl @@ -20,9 +20,6 @@ #ifndef __com_sun_star_datatransfer_MimeContentType_idl__ #define __com_sun_star_datatransfer_MimeContentType_idl__ -#include <com/sun/star/lang/XComponent.idl> -#include <com/sun/star/lang/XTypeProvider.idl> - module com { module sun { module star { module datatransfer { @@ -37,20 +34,7 @@ module com { module sun { module star { module datatransfer { @see com::sun::star::datatransfer::XMimeContentTypeFactory */ -published service MimeContentTypeFactory -{ - /** Creates an instance that implement the interface - <type>XMimeContentType</type> from the string - representation of such a MIME content-types that is conform to - <a href="ftp://ftp.isi.edu/in-notes/rfc2045.txt">Rfc2045</a>, - <a href="ftp://ftp.isi.edu/in-notes/rfc2046.txt">Rfc2046</a>. - */ - interface XMimeContentTypeFactory; - - /** Service should always support this interface. - */ - interface com::sun::star::lang::XTypeProvider; -}; +published service MimeContentTypeFactory : XMimeContentTypeFactory; }; }; }; }; diff --git a/offapi/com/sun/star/datatransfer/clipboard/ClipboardManager.idl b/offapi/com/sun/star/datatransfer/clipboard/ClipboardManager.idl index 7e9a5289ce5e..de4b4f77bfd6 100644 --- a/offapi/com/sun/star/datatransfer/clipboard/ClipboardManager.idl +++ b/offapi/com/sun/star/datatransfer/clipboard/ClipboardManager.idl @@ -21,7 +21,6 @@ #define __com_sun_star_datatransfer_clipboard_ClipboardManager_idl__ #include <com/sun/star/lang/XComponent.idl> -#include <com/sun/star/lang/XTypeProvider.idl> module com { module sun { module star { module datatransfer { module clipboard { @@ -43,10 +42,6 @@ published service ClipboardManager /** For shutdown and listener support. */ interface com::sun::star::lang::XComponent; - - /** Service should always support this interface. - */ - interface com::sun::star::lang::XTypeProvider; }; diff --git a/offapi/com/sun/star/datatransfer/clipboard/GenericClipboard.idl b/offapi/com/sun/star/datatransfer/clipboard/GenericClipboard.idl index 6f46b34f776d..880b30a03743 100644 --- a/offapi/com/sun/star/datatransfer/clipboard/GenericClipboard.idl +++ b/offapi/com/sun/star/datatransfer/clipboard/GenericClipboard.idl @@ -22,7 +22,6 @@ #include <com/sun/star/lang/XComponent.idl> #include <com/sun/star/lang/XInitialization.idl> -#include <com/sun/star/lang/XTypeProvider.idl> module com { module sun { module star { module datatransfer { module clipboard { @@ -50,10 +49,6 @@ published service GenericClipboard /** For shutdown and listener support. */ interface com::sun::star::lang::XComponent; - - /** Service should always support this interface. - */ - interface com::sun::star::lang::XTypeProvider; }; diff --git a/offapi/com/sun/star/datatransfer/clipboard/SystemClipboard.idl b/offapi/com/sun/star/datatransfer/clipboard/SystemClipboard.idl index c34181ceb3d7..35707087efa6 100644 --- a/offapi/com/sun/star/datatransfer/clipboard/SystemClipboard.idl +++ b/offapi/com/sun/star/datatransfer/clipboard/SystemClipboard.idl @@ -21,7 +21,6 @@ #define __com_sun_star_datatransfer_clipboard_SystemClipboard_idl__ #include <com/sun/star/lang/XComponent.idl> -#include <com/sun/star/lang/XTypeProvider.idl> #include <com/sun/star/lang/XInitialization.idl> @@ -67,10 +66,6 @@ published service SystemClipboard /** For shutdown and listener support. */ interface com::sun::star::lang::XComponent; - - /** Service should always support this interface. - */ - interface com::sun::star::lang::XTypeProvider; }; diff --git a/offapi/com/sun/star/datatransfer/dnd/OleDragSource.idl b/offapi/com/sun/star/datatransfer/dnd/OleDragSource.idl index a51f8102dc85..12b55b215d15 100644 --- a/offapi/com/sun/star/datatransfer/dnd/OleDragSource.idl +++ b/offapi/com/sun/star/datatransfer/dnd/OleDragSource.idl @@ -31,7 +31,6 @@ #include <com/sun/star/lang/XComponent.idl> #include <com/sun/star/lang/XInitialization.idl> -#include <com/sun/star/lang/XTypeProvider.idl> module com { module sun { module star { module datatransfer { module dnd { @@ -66,10 +65,6 @@ published service OleDragSource /** For shutdown and listener support. */ interface com::sun::star::lang::XComponent; - - /** Service should always support this interface. - */ - interface com::sun::star::lang::XTypeProvider; }; diff --git a/offapi/com/sun/star/datatransfer/dnd/OleDropTarget.idl b/offapi/com/sun/star/datatransfer/dnd/OleDropTarget.idl index e1e1a27d9c8f..87f62c4a0305 100644 --- a/offapi/com/sun/star/datatransfer/dnd/OleDropTarget.idl +++ b/offapi/com/sun/star/datatransfer/dnd/OleDropTarget.idl @@ -31,13 +31,12 @@ #include <com/sun/star/lang/XComponent.idl> #include <com/sun/star/lang/XInitialization.idl> -#include <com/sun/star/lang/XTypeProvider.idl> module com { module sun { module star { module datatransfer { module dnd { - published interface XDropTarget; +published interface XDropTarget; /** This service connects the Java-like UNO Drag & Drop protocol to the protocol used on window platforms. It realizes the drop target. @@ -58,10 +57,6 @@ published service OleDropTarget /** For shutdown and listener support. */ interface com::sun::star::lang::XComponent; - - /** Service should always support this interface. - */ - interface com::sun::star::lang::XTypeProvider; }; diff --git a/offapi/com/sun/star/datatransfer/dnd/X11DragSource.idl b/offapi/com/sun/star/datatransfer/dnd/X11DragSource.idl index c987b479f717..8f72a0897713 100644 --- a/offapi/com/sun/star/datatransfer/dnd/X11DragSource.idl +++ b/offapi/com/sun/star/datatransfer/dnd/X11DragSource.idl @@ -22,7 +22,6 @@ #include <com/sun/star/lang/XComponent.idl> #include <com/sun/star/lang/XInitialization.idl> -#include <com/sun/star/lang/XTypeProvider.idl> module com { module sun { module star { module datatransfer { module dnd { @@ -52,10 +51,6 @@ published service X11DragSource /** For shutdown and listener support. */ interface com::sun::star::lang::XComponent; - - /** Service should always support this interface. - */ - interface com::sun::star::lang::XTypeProvider; }; diff --git a/offapi/com/sun/star/datatransfer/dnd/X11DropTarget.idl b/offapi/com/sun/star/datatransfer/dnd/X11DropTarget.idl index 624afdc6b4b4..120557aa97ad 100644 --- a/offapi/com/sun/star/datatransfer/dnd/X11DropTarget.idl +++ b/offapi/com/sun/star/datatransfer/dnd/X11DropTarget.idl @@ -22,7 +22,6 @@ #include <com/sun/star/lang/XComponent.idl> #include <com/sun/star/lang/XInitialization.idl> -#include <com/sun/star/lang/XTypeProvider.idl> module com { module sun { module star { module datatransfer { module dnd { @@ -55,10 +54,6 @@ published service X11DropTarget /** For shutdown and listener support. */ interface com::sun::star::lang::XComponent; - - /** Service should always support this interface. - */ - interface com::sun::star::lang::XTypeProvider; }; |