[Libreoffice-commits] core.git: sw/source writerfilter/source
Michael Stahl (via logerrit)
logerrit at kemper.freedesktop.org
Tue Oct 22 15:10:25 UTC 2019
sw/source/core/unocore/unobkm.cxx | 3 ++-
writerfilter/source/dmapper/FormControlHelper.cxx | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 6314e7bf21cb220fa84a6483f96caa75368773c5
Author: Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Thu Oct 17 12:39:00 2019 +0200
Commit: Michael Stahl <michael.stahl at cib.de>
CommitDate: Tue Oct 22 17:09:30 2019 +0200
sw: what is that exception about
Change-Id: I00bce4bead3d593b2c2ceb06da49fd90d6fd213f
Reviewed-on: https://gerrit.libreoffice.org/81080
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl at cib.de>
diff --git a/sw/source/core/unocore/unobkm.cxx b/sw/source/core/unocore/unobkm.cxx
index f81ca649384f..28af288deef4 100644
--- a/sw/source/core/unocore/unobkm.cxx
+++ b/sw/source/core/unocore/unobkm.cxx
@@ -342,7 +342,8 @@ void SAL_CALL SwXBookmark::setName(const OUString& rName)
m_pImpl->m_pDoc->getIDocumentMarkAccess();
if(pMarkAccess->findMark(rName) != pMarkAccess->getAllMarksEnd())
{
- throw uno::RuntimeException();
+ throw uno::RuntimeException("setName(): name already in use",
+ static_cast<::cppu::OWeakObject*>(this));
}
SwPaM aPam(m_pImpl->m_pRegisteredBookmark->GetMarkPos());
diff --git a/writerfilter/source/dmapper/FormControlHelper.cxx b/writerfilter/source/dmapper/FormControlHelper.cxx
index 98e7bb0ba319..c916d9baa7c4 100644
--- a/writerfilter/source/dmapper/FormControlHelper.cxx
+++ b/writerfilter/source/dmapper/FormControlHelper.cxx
@@ -245,7 +245,7 @@ void FormControlHelper::processField(uno::Reference<text::XFormField> const& xFo
}
catch ( uno::Exception& )
{
- DBG_UNHANDLED_EXCEPTION("writerfilter","Set Formfield name failed");
+ TOOLS_INFO_EXCEPTION("writerfilter", "Set Formfield name failed");
}
sTmp = m_pFFData->getTextType();
More information about the Libreoffice-commits
mailing list