sw/source/core/unocore/unoframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 75fca5341ec1e4d0a0113fce26df9992d7352591 Author: Olivier Hallot <[email protected]> AuthorDate: Tue Aug 31 15:19:20 2021 -0300 Commit: Michael Stahl <[email protected]> CommitDate: Wed Sep 1 10:50:34 2021 +0200 tdf#42982 RuntimeException msg for SwXFrame::setName() Change-Id: I1d92730d93e71403b6d0ad97eedef4e6ba00a642 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121394 Tested-by: Jenkins Reviewed-by: Michael Stahl <[email protected]> diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 8b9250671d78..72d307dc3fcb 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -1313,7 +1313,7 @@ void SwXFrame::setName(const OUString& rName) pFormat->GetDoc()->SetFlyName(static_cast<SwFlyFrameFormat&>(*pFormat), rName); if(pFormat->GetName() != rName) { - throw uno::RuntimeException(); + throw uno::RuntimeException("SwXFrame::setName(): Illegal object name. Duplicate name?"); } } else if(m_bIsDescriptor)
