diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-09-04 16:50:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-09-04 16:54:23 +0200 |
commit | e76b2053b4c5520ec880fb4fa0031a7ff2ca9ee5 (patch) | |
tree | b7c5aee12bd2782680b183c097cc9b8e603c346e /offapi/com/sun/star/document | |
parent | 330b860205c7ba69dd6603f65324d0f89ad9cd5f (diff) |
Fix UNOIDL interface method parameter identifiers
UNOIDL identifiers starting with a lowercase letter and containing underscores
are reserved for the implementation. It would be good to be able to enforce
that in code parsing UNOIDL files, but some existing identifiers violate that.
So at least change any violating method parameter identifiers here. While that
is theoretically an incompatible change for published interfaces, it practically
does not matter at all.
Change-Id: I5eff17b5dd5e2e92984184127c4fe1712d62c9dd
Diffstat (limited to 'offapi/com/sun/star/document')
-rw-r--r-- | offapi/com/sun/star/document/XDocumentEventBroadcaster.idl | 22 | ||||
-rw-r--r-- | offapi/com/sun/star/document/XUndoManager.idl | 10 | ||||
-rw-r--r-- | offapi/com/sun/star/document/XUndoManagerListener.idl | 22 |
3 files changed, 27 insertions, 27 deletions
diff --git a/offapi/com/sun/star/document/XDocumentEventBroadcaster.idl b/offapi/com/sun/star/document/XDocumentEventBroadcaster.idl index 793690ec4c8b..929db7df8eea 100644 --- a/offapi/com/sun/star/document/XDocumentEventBroadcaster.idl +++ b/offapi/com/sun/star/document/XDocumentEventBroadcaster.idl @@ -44,19 +44,19 @@ interface XDocumentEventBroadcaster { /** registers a listener which is notified about document events - @param _Listener + @param Listener the listener to register. The behavior of the method is undefined this listener is `NULL`. */ - void addDocumentEventListener( [in] XDocumentEventListener _Listener ); + void addDocumentEventListener( [in] XDocumentEventListener Listener ); /** revokes a listener which has previously been registered to be notified about document events. - @param _Listener + @param Listener the listener to revoke. The behavior of the method is undefined this listener is `NULL`. */ - void removeDocumentEventListener( [in] XDocumentEventListener _Listener ); + void removeDocumentEventListener( [in] XDocumentEventListener Listener ); /** causes the broadcaster to notify all registered listeners of the given event @@ -71,15 +71,15 @@ interface XDocumentEventBroadcaster their own discretion. Again, in this case they're encouraged to document this in their service contract.</p> - @param _EventName + @param EventName the name of the event to be notified. - @param _ViewController + @param ViewController the view/controller which the event applies to. May be `NULL` - @param _Supplement + @param Supplement supplemental information related to the event. @throws ::com::sun::star::lang::IllegalArgumentException - if _EventName is empty, or if _EventName is not supported by the + if EventName is empty, or if EventName is not supported by the document implementation. @throws ::com::sun::star::lang::NoSupportException @@ -88,9 +88,9 @@ interface XDocumentEventBroadcaster be unable to fill in the <code>Source</code> member of the DocumentEvent instance. */ void notifyDocumentEvent( - [in] string _EventName, - [in] ::com::sun::star::frame::XController2 _ViewController, - [in] any _Supplement + [in] string EventName, + [in] ::com::sun::star::frame::XController2 ViewController, + [in] any Supplement ) raises ( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::NoSupportException ); diff --git a/offapi/com/sun/star/document/XUndoManager.idl b/offapi/com/sun/star/document/XUndoManager.idl index bd748f5f6dee..cfe5645ed5ff 100644 --- a/offapi/com/sun/star/document/XUndoManager.idl +++ b/offapi/com/sun/star/document/XUndoManager.idl @@ -82,7 +82,7 @@ interface XUndoManager /** enters a new undo context. - <p>A new undo action will be added to the undo stack, with the title given as <code>i_title</code>. As long + <p>A new undo action will be added to the undo stack, with the title given as <code>iTitle</code>. As long as the context is not left, every undo action added to the stack will be treated as sub action. This means it will not be directly accessible at the Undo manager, not appear in any user interface, and cannot be separately undone or re-done.</p> @@ -96,7 +96,7 @@ interface XUndoManager @see leaveUndoContext */ void enterUndoContext( - [in] string i_title + [in] string iTitle ); /** enters a new undo context, creating a hidden undo action. @@ -167,7 +167,7 @@ interface XUndoManager if the given undo action is `NULL`. */ void addUndoAction( - [in] XUndoAction i_action + [in] XUndoAction iAction ) raises( ::com::sun::star::lang::IllegalArgumentException ); @@ -309,13 +309,13 @@ interface XUndoManager /** adds a listener to be notified of changes in the Undo/Redo stacks. */ void addUndoManagerListener( - [in] XUndoManagerListener i_listener + [in] XUndoManagerListener iListener ); /** removes a previously added listener */ void removeUndoManagerListener( - [in] XUndoManagerListener i_listener + [in] XUndoManagerListener iListener ); }; diff --git a/offapi/com/sun/star/document/XUndoManagerListener.idl b/offapi/com/sun/star/document/XUndoManagerListener.idl index 34f394308cd1..aacae1390615 100644 --- a/offapi/com/sun/star/document/XUndoManagerListener.idl +++ b/offapi/com/sun/star/document/XUndoManagerListener.idl @@ -41,35 +41,35 @@ interface XUndoManagerListener : ::com::sun::star::lang::XEventListener @see XUndoManager::addUndoAction */ - void undoActionAdded( [in] UndoManagerEvent i_event ); + void undoActionAdded( [in] UndoManagerEvent iEvent ); /** is called when the top-most action of the undo stack has been undone. @see XUndoManager::undo */ - void actionUndone( [in] UndoManagerEvent i_event ); + void actionUndone( [in] UndoManagerEvent iEvent ); /** is called when the top-most action of the Redo stack has been re-applied. @see XUndoManager::redo */ - void actionRedone( [in] UndoManagerEvent i_event ); + void actionRedone( [in] UndoManagerEvent iEvent ); /** is called when both the Undo and the Redo stack have been cleared from all Undo actions. @see XUndoManager::clear */ - void allActionsCleared( [in] ::com::sun::star::lang::EventObject i_event ); + void allActionsCleared( [in] ::com::sun::star::lang::EventObject iEvent ); /** is called when the Redo stack has been cleared. @see XUndoManager::clearRedo */ - void redoActionsCleared( [in] ::com::sun::star::lang::EventObject i_event ); + void redoActionsCleared( [in] ::com::sun::star::lang::EventObject iEvent ); /** called when the complete undo manager has been reset */ - void resetAll( [in] ::com::sun::star::lang::EventObject i_event ); + void resetAll( [in] ::com::sun::star::lang::EventObject iEvent ); /** is called when a new Undo context has been entered. @@ -79,7 +79,7 @@ interface XUndoManagerListener : ::com::sun::star::lang::XEventListener @see XUndoManager::enterUndoContext */ - void enteredContext( [in] UndoManagerEvent i_event ); + void enteredContext( [in] UndoManagerEvent iEvent ); /** is called when a new hidden Undo context has been entered. @@ -89,7 +89,7 @@ interface XUndoManagerListener : ::com::sun::star::lang::XEventListener @see XUndoManager::enterUndoContext */ - void enteredHiddenContext( [in] UndoManagerEvent i_event ); + void enteredHiddenContext( [in] UndoManagerEvent iEvent ); /** is called when an Undo context has been left. @@ -101,7 +101,7 @@ interface XUndoManagerListener : ::com::sun::star::lang::XEventListener @see leftHiddenUndocontext @see cancelledContext */ - void leftContext( [in] UndoManagerEvent i_event ); + void leftContext( [in] UndoManagerEvent iEvent ); /** is calledn when a hidden Undo context has been left. @@ -112,7 +112,7 @@ interface XUndoManagerListener : ::com::sun::star::lang::XEventListener @see leftContext @see cancelledContext */ - void leftHiddenContext( [in] UndoManagerEvent i_event ); + void leftHiddenContext( [in] UndoManagerEvent iEvent ); /** is called when an Undo context has been left, but no actions have been added within this context. @@ -123,7 +123,7 @@ interface XUndoManagerListener : ::com::sun::star::lang::XEventListener @see leftContext @see leftHiddenContext */ - void cancelledContext( [in] UndoManagerEvent i_event ); + void cancelledContext( [in] UndoManagerEvent iEvent ); }; |