[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Mon Mar 31 01:23:40 PDT 2014


 sw/source/filter/ww8/writerhelper.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b850adf13ec8fad5f1e49c06fbb1d81a546b4636
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Mar 30 21:24:11 2014 +0100

    coverity#1194932 Uncaught exception
    
    Change-Id: Ia1811b7ec040887079d90ac611316983c1e77b03

diff --git a/sw/source/filter/ww8/writerhelper.hxx b/sw/source/filter/ww8/writerhelper.hxx
index a29a781..6955e97 100644
--- a/sw/source/filter/ww8/writerhelper.hxx
+++ b/sw/source/filter/ww8/writerhelper.hxx
@@ -320,7 +320,7 @@ namespace sw
             <a href="mailto:cmc at openoffice.org">Caolán McNamara</a>
         */
         template<class T> const T & ItemGet(const SwFmt &rFmt,
-            sal_uInt16 eType) throw(std::bad_cast)
+            sal_uInt16 eType) throw(std::bad_cast, css::uno::RuntimeException)
         {
             return item_cast<T>(rFmt.GetFmtAttr(eType));
         }


More information about the Libreoffice-commits mailing list