summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-30 15:08:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-30 20:07:59 +0200
commit270005fe2fb594d1894305c742f98b53367f4dd3 (patch)
tree99dc742cddc656cc81c3cf85675ac44cbf3c2c0f /sw/source
parent5f260ecaddbd2b93de18f5223a7a732bcff280d9 (diff)
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@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/ww8/rtfsdrexport.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par.cxx2
2 files changed, 2 insertions, 2 deletions
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();
}