summaryrefslogtreecommitdiff
path: root/svx/source/dialog/rubydialog.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-10-04 23:28:23 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2020-10-05 09:49:05 +0200
commit9abb853f0ae74b34ee7c5fb6a34b72a037bb317e (patch)
tree65871e440423b653b1e355d871e70e6c8e88dd17 /svx/source/dialog/rubydialog.cxx
parent83615f4ee8c5e78fb45389b5ea3c1204625e3fe2 (diff)
use more TOOLS_WARN_EXCEPTION
Change-Id: I3e8bfdf717dd8896ab16e396f671651ca4f7f01c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103932 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx/source/dialog/rubydialog.cxx')
-rw-r--r--svx/source/dialog/rubydialog.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index 65ef3c14927c..357f0d9e3134 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -19,8 +19,8 @@
#include <memory>
#include <sal/config.h>
#include <tools/debug.hxx>
+#include <tools/diagnose_ex.h>
-#include <osl/diagnose.h>
#include <svx/rubydialog.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/sfxsids.hrc>
@@ -346,7 +346,7 @@ void SvxRubyDialog::Activate()
}
catch (const Exception&)
{
- OSL_FAIL("exception in style access");
+ TOOLS_WARN_EXCEPTION("svx.dialog", "exception in style access");
}
if (!sCharStyleSelect.isEmpty())
m_xCharStyleLB->set_active_text(sCharStyleSelect);
@@ -535,7 +535,7 @@ IMPL_LINK_NOARG(SvxRubyDialog, ApplyHdl_Impl, weld::Button&, void)
}
catch (const Exception&)
{
- OSL_FAIL("Exception caught");
+ TOOLS_WARN_EXCEPTION("svx.dialog", "");
}
}
}