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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat May 30 18:08:37 UTC 2020


 sw/source/filter/ww8/rtfsdrexport.cxx |    2 +-
 sw/source/filter/ww8/ww8par.cxx       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 270005fe2fb594d1894305c742f98b53367f4dd3
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat May 30 15:08:51 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat May 30 20:07:59 2020 +0200

    ofz#22822 use TOOLS_WARN_EXCEPTION
    
    Change-Id: Iaf879d5ec52cd422634287d1fe69a4aafe13c4d4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95188
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx
index 0aa351aa4c77..8f15b03b9102 100644
--- a/sw/source/filter/ww8/rtfsdrexport.cxx
+++ b/sw/source/filter/ww8/rtfsdrexport.cxx
@@ -520,7 +520,7 @@ void RtfSdrExport::impl_writeGraphic()
     }
     catch (beans::UnknownPropertyException const&)
     {
-        DBG_UNHANDLED_EXCEPTION("sw.rtf");
+        TOOLS_WARN_EXCEPTION("sw.rtf", "failed to fetch graphic");
     }
 
     if (xGraphic.is())
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index e2e75a4d78ab..4a843d192d1d 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -4993,7 +4993,7 @@ ErrCode SwWW8ImplReader::CoreLoad(WW8Glossary const *pGloss)
         }
         catch (const uno::Exception&)
         {
-            DBG_UNHANDLED_EXCEPTION("sw.ww8", "failed to initialize RDF metadata");
+            TOOLS_WARN_EXCEPTION("sw.ww8", "failed to initialize RDF metadata");
         }
         ReadDocInfo();
     }


More information about the Libreoffice-commits mailing list