[PATCH] Replace invalid doxygen commands: thrown -> throws

Zolnai Tamás (via_Code_Review) gerrit at gerrit.libreoffice.org
Sun Jun 2 12:41:57 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/4136

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/36/4136/1

Replace invalid doxygen commands: thrown -> throws

Change-Id: I9e9f513afe37ccf34f2d5762a27b4a728fd24f36
---
M framework/source/services/frame.cxx
M offapi/com/sun/star/embed/XCommonEmbedPersist.idl
M offapi/com/sun/star/embed/XEmbedObjectCreator.idl
M offapi/com/sun/star/embed/XEmbedObjectFactory.idl
M offapi/com/sun/star/embed/XEmbedPersist.idl
M offapi/com/sun/star/embed/XInsertObjectDialog.idl
M offapi/com/sun/star/frame/XStorable2.idl
7 files changed, 11 insertions(+), 11 deletions(-)



diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 6ece139..edf60e1 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -1554,7 +1554,7 @@
                     veto exception and must try to close this frame at later time again. Otherwhise the
                     source of throwed exception is the right one. May it will be the frame himself.
 
-    @thrown     CloseVetoException
+    @throws     CloseVetoException
                     if any internal things willn't be closed
 
     @threadsafe yes
diff --git a/offapi/com/sun/star/embed/XCommonEmbedPersist.idl b/offapi/com/sun/star/embed/XCommonEmbedPersist.idl
index 1b46bbf..3976cb2 100644
--- a/offapi/com/sun/star/embed/XCommonEmbedPersist.idl
+++ b/offapi/com/sun/star/embed/XCommonEmbedPersist.idl
@@ -77,7 +77,7 @@
             optional parameters for object reloading, see also
             <type scope="com::sun::star::embed">EmbeddedObjectDescriptor</type>
 
-        @thrown ::com::sun::star::lang::IllegalArgumentException
+        @throws ::com::sun::star::lang::IllegalArgumentException
             one of arguments is illegal
 
         @throws com::sun::star::embed::WrongStateException
diff --git a/offapi/com/sun/star/embed/XEmbedObjectCreator.idl b/offapi/com/sun/star/embed/XEmbedObjectCreator.idl
index 9e64448..f4e801b 100644
--- a/offapi/com/sun/star/embed/XEmbedObjectCreator.idl
+++ b/offapi/com/sun/star/embed/XEmbedObjectCreator.idl
@@ -105,10 +105,10 @@
             an object of type <type>EmbeddedObjectDescriptor</type>
             contains object related properties
 
-        @thrown ::com::sun::star::lang::IllegalArgumentException
+        @throws ::com::sun::star::lang::IllegalArgumentException
             one of arguments is illegal
 
-        @thrown ::com::sun::star::container::NoSuchElementException
+        @throws ::com::sun::star::container::NoSuchElementException
             the specified entry does not exist
 
         @throws com::sun::star::io::IOException
@@ -149,7 +149,7 @@
             an object of type <type>EmbeddedObjectDescriptor</type>
             contains object related properties
 
-        @thrown ::com::sun::star::lang::IllegalArgumentException
+        @throws ::com::sun::star::lang::IllegalArgumentException
             one of arguments is illegal
 
         @throws com::sun::star::io::IOException
diff --git a/offapi/com/sun/star/embed/XEmbedObjectFactory.idl b/offapi/com/sun/star/embed/XEmbedObjectFactory.idl
index 7460b37..63a687d 100644
--- a/offapi/com/sun/star/embed/XEmbedObjectFactory.idl
+++ b/offapi/com/sun/star/embed/XEmbedObjectFactory.idl
@@ -76,7 +76,7 @@
             see also
             <type scope="com::sun::star::embed">EmbeddedObjectDescriptor</type>
 
-        @thrown ::com::sun::star::lang::IllegalArgumentException
+        @throws ::com::sun::star::lang::IllegalArgumentException
             one of arguments is illegal
 
         @throws com::sun::star::io::IOException
diff --git a/offapi/com/sun/star/embed/XEmbedPersist.idl b/offapi/com/sun/star/embed/XEmbedPersist.idl
index 6c24d3f..10e0857 100644
--- a/offapi/com/sun/star/embed/XEmbedPersist.idl
+++ b/offapi/com/sun/star/embed/XEmbedPersist.idl
@@ -80,7 +80,7 @@
             see also
             <type scope="com::sun::star::embed">EmbeddedObjectDescriptor</type>
 
-        @thrown ::com::sun::star::lang::IllegalArgumentException
+        @throws ::com::sun::star::lang::IllegalArgumentException
             one of arguments is illegal
 
         @throws com::sun::star::embed::WrongStateException
@@ -120,7 +120,7 @@
             optional parameters for the object saving, see also
             <type scope="com::sun::star::embed">EmbeddedObjectDescriptor</type>
 
-        @thrown ::com::sun::star::lang::IllegalArgumentException
+        @throws ::com::sun::star::lang::IllegalArgumentException
             one of arguments is illegal
 
         @throws com::sun::star::embed::WrongStateException
@@ -169,7 +169,7 @@
             optional parameters for the object saving, see also
             <type scope="com::sun::star::embed">EmbeddedObjectDescriptor</type>
 
-        @thrown ::com::sun::star::lang::IllegalArgumentException
+        @throws ::com::sun::star::lang::IllegalArgumentException
             one of arguments is illegal
 
         @throws com::sun::star::embed::WrongStateException
diff --git a/offapi/com/sun/star/embed/XInsertObjectDialog.idl b/offapi/com/sun/star/embed/XInsertObjectDialog.idl
index b4a359e..5196298 100644
--- a/offapi/com/sun/star/embed/XInsertObjectDialog.idl
+++ b/offapi/com/sun/star/embed/XInsertObjectDialog.idl
@@ -55,7 +55,7 @@
         @returns
             the structure containing the object and container related options
 
-        @thrown ::com::sun::star::lang::IllegalArgumentException
+        @throws ::com::sun::star::lang::IllegalArgumentException
             one of arguments is illegal
 
         @throws com::sun::star::io::IOException
diff --git a/offapi/com/sun/star/frame/XStorable2.idl b/offapi/com/sun/star/frame/XStorable2.idl
index 04a9f6d..7915c2f 100644
--- a/offapi/com/sun/star/frame/XStorable2.idl
+++ b/offapi/com/sun/star/frame/XStorable2.idl
@@ -48,7 +48,7 @@
             optional parameters for saving, can take values from subset of
             <type scope="com::sun::star::document">MediaDescriptor</type>
 
-        @thrown ::com::sun::star::lang::IllegalArgumentException
+        @throws ::com::sun::star::lang::IllegalArgumentException
             the optional parameters contain unacceptable for save entry
 
         @throws com::sun::star::io::IOException

-- 
To view, visit https://gerrit.libreoffice.org/4136
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e9f513afe37ccf34f2d5762a27b4a728fd24f36
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Zolnai Tamás <zolnaitamas2000 at gmail.com>



More information about the LibreOffice mailing list