This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new b32066d  Fixed typos, removed whitespace
b32066d is described below

commit b32066da778d5d83d36ff0c08dd7c614205851af
Author: mseidel <msei...@apache.org>
AuthorDate: Thu Sep 12 19:23:16 2019 +0200

    Fixed typos, removed whitespace
    
    (cherry picked from commit f6f0fd12ae2ac22cbfd4056e706c95c5daaf3794)
---
 main/offapi/com/sun/star/form/XChangeListener.idl  | 76 +++++++++----------
 .../com/sun/star/form/XConfirmDeleteListener.idl   | 75 +++++++++---------
 main/offapi/com/sun/star/form/XUpdateListener.idl  | 88 +++++++++++-----------
 3 files changed, 120 insertions(+), 119 deletions(-)

diff --git a/main/offapi/com/sun/star/form/XChangeListener.idl 
b/main/offapi/com/sun/star/form/XChangeListener.idl
index aa05944..b7e5be6 100644
--- a/main/offapi/com/sun/star/form/XChangeListener.idl
+++ b/main/offapi/com/sun/star/form/XChangeListener.idl
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,63 +7,63 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
-#ifndef __com_sun_star_form_XChangeListener_idl__ 
-#define __com_sun_star_form_XChangeListener_idl__ 
- 
-#ifndef __com_sun_star_lang_XEventListener_idl__ 
-#include <com/sun/star/lang/XEventListener.idl> 
-#endif 
- 
-#ifndef __com_sun_star_lang_EventObject_idl__ 
-#include <com/sun/star/lang/EventObject.idl> 
-#endif 
- 
- 
-//=============================================================================
 
- 
- module com {  module sun {  module star {  module form {  
- 
-//=============================================================================
 
- 
+#ifndef __com_sun_star_form_XChangeListener_idl__
+#define __com_sun_star_form_XChangeListener_idl__
+
+#ifndef __com_sun_star_lang_XEventListener_idl__
+#include <com/sun/star/lang/XEventListener.idl>
+#endif
+
+#ifndef __com_sun_star_lang_EventObject_idl__
+#include <com/sun/star/lang/EventObject.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module form {
+
+//=============================================================================
+
 /** is the listener interface for receiving notifications about data changes.
-       
+
        <p>The concrete semantics of a change (i.e. the conditions for when a 
change event
        is fired) must be specified in the description of the service 
broadcasting the
        change.</p>
-       
+
        @see XChangeBroadcaster
  */
 published interface XChangeListener: com::sun::star::lang::XEventListener
-{ 
-       
//------------------------------------------------------------------------- 
+{
+       
//-------------------------------------------------------------------------
 
        /** is invoked when the data of a component has been changed.
 
                @param rEvent
-                       A dedscriptor specifying the source of the event.
+                       A descriptor specifying the source of the event.
         */
-       [oneway] void changed( [in] com::sun::star::lang::EventObject rEvent ); 
- 
-}; 
- 
-//=============================================================================
 
- 
-}; }; }; };  
- 
-/*=============================================================================
 
- 
-=============================================================================*/
 
+       [oneway] void changed( [in] com::sun::star::lang::EventObject rEvent );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+
 #endif 
diff --git a/main/offapi/com/sun/star/form/XConfirmDeleteListener.idl 
b/main/offapi/com/sun/star/form/XConfirmDeleteListener.idl
index b4b040f..2c292b7 100644
--- a/main/offapi/com/sun/star/form/XConfirmDeleteListener.idl
+++ b/main/offapi/com/sun/star/form/XConfirmDeleteListener.idl
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,61 +7,62 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
-#ifndef __com_sun_star_form_XConfirmDeleteListener_idl__ 
-#define __com_sun_star_form_XConfirmDeleteListener_idl__ 
- 
-#ifndef __com_sun_star_lang_XEventListener_idl__ 
-#include <com/sun/star/lang/XEventListener.idl> 
-#endif 
- 
-#ifndef __com_sun_star_sdb_RowChangeEvent_idl__ 
-#include <com/sun/star/sdb/RowChangeEvent.idl> 
-#endif 
- 
-//=============================================================================
 
- 
- module com {  module sun {  module star {  module form { 
- 
-//=============================================================================
 
- 
+#ifndef __com_sun_star_form_XConfirmDeleteListener_idl__
+#define __com_sun_star_form_XConfirmDeleteListener_idl__
+
+#ifndef __com_sun_star_lang_XEventListener_idl__
+#include <com/sun/star/lang/XEventListener.idl>
+#endif
+
+#ifndef __com_sun_star_sdb_RowChangeEvent_idl__
+#include <com/sun/star/sdb/RowChangeEvent.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module form {
+
+//=============================================================================
+
 /** allows to register a component for confirming deletions of
        rows in a <type scope="com::sun::star::form::component">DataForm</type>.
-       
+
        @see XConfirmDeleteBroadcaster
  */
 published interface XConfirmDeleteListener: 
com::sun::star::lang::XEventListener
-{ 
-       
//------------------------------------------------------------------------- 
-        
+{
+       
//-------------------------------------------------------------------------
+
        /** is invoked when the current record of a database form will be 
deleted.
 
                @param aEvent
-                       A dedscriptor specifying the deletion request.
+                       A descriptor specifying the deletion request.
 
                @returns
-                       <TRUE/> when the row caan be deleted, otherwise 
<FALSE/>.
+                       <TRUE/> when the row can be deleted, otherwise <FALSE/>.
         */
-       boolean confirmDelete( [in] com::sun::star::sdb::RowChangeEvent aEvent 
); 
-}; 
- 
-//=============================================================================
 
- 
-}; }; }; }; 
- 
-/*=============================================================================
 
- 
-=============================================================================*/
 
+       boolean confirmDelete( [in] com::sun::star::sdb::RowChangeEvent aEvent 
);
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+
 #endif 
diff --git a/main/offapi/com/sun/star/form/XUpdateListener.idl 
b/main/offapi/com/sun/star/form/XUpdateListener.idl
index 9f6fe1a..2b86cc1 100644
--- a/main/offapi/com/sun/star/form/XUpdateListener.idl
+++ b/main/offapi/com/sun/star/form/XUpdateListener.idl
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,77 +7,77 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
-#ifndef __com_sun_star_form_XUpdateListener_idl__ 
-#define __com_sun_star_form_XUpdateListener_idl__ 
- 
-#ifndef __com_sun_star_lang_XEventListener_idl__ 
-#include <com/sun/star/lang/XEventListener.idl> 
-#endif 
- 
-#ifndef __com_sun_star_lang_EventObject_idl__ 
-#include <com/sun/star/lang/EventObject.idl> 
-#endif 
- 
- 
-//=============================================================================
 
- 
- module com {  module sun {  module star {  module form { 
- 
-//=============================================================================
 
- 
+#ifndef __com_sun_star_form_XUpdateListener_idl__
+#define __com_sun_star_form_XUpdateListener_idl__
+
+#ifndef __com_sun_star_lang_XEventListener_idl__
+#include <com/sun/star/lang/XEventListener.idl>
+#endif
+
+#ifndef __com_sun_star_lang_EventObject_idl__
+#include <com/sun/star/lang/EventObject.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module form {
+
+//=============================================================================
+
 /** used to listen on objects which allow updating their data.
        <p>In addition to just get notified when an data update happened, the 
listener
        has a chance to veto updates <em>before</em> they happen.</p>
-       
+
        @see XUpdateBroadcaster
  */
 published interface XUpdateListener: com::sun::star::lang::XEventListener
-{ 
-       
//------------------------------------------------------------------------- 
-        
+{
+       
//-------------------------------------------------------------------------
+
        /** is invoked to check the current data.
 
                <p>For a given update process, if one of the 
<type>XUpdateListener</type>s
                vetos the change, the update is canceled, and no further 
notification happens.</p>
 
                @param aEvent
-                       An event dedscriptor specifying the broadcaster of the 
change.
+                       An event descriptor specifying the broadcaster of the 
change.
 
-               @returns 
+               @returns
                        <TRUE/> when the update was approved, otherwise 
<FALSE/>.
         */
-       boolean approveUpdate( [in] com::sun::star::lang::EventObject aEvent ); 
- 
-       
//------------------------------------------------------------------------- 
-        
+       boolean approveUpdate( [in] com::sun::star::lang::EventObject aEvent );
+
+       
//-------------------------------------------------------------------------
+
        /** is invoked when an object has finished processing the updates and
                the data has been successfully written.
 
                @param aEvent
-                       A event dedscriptor specifying the broadcaster of the 
change.
+                       A event descriptor specifying the broadcaster of the 
change.
         */
-       void updated( [in] com::sun::star::lang::EventObject aEvent ); 
- 
-}; 
- 
-//=============================================================================
 
- 
-}; }; }; }; 
- 
-/*=============================================================================
 
- 
-=============================================================================*/
 
+       void updated( [in] com::sun::star::lang::EventObject aEvent );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+
 #endif 

Reply via email to