| commit | 75fca5341ec1e4d0a0113fce26df9992d7352591 | [log] |
|---|---|---|
| author | Olivier Hallot <olivier.hallot@libreoffice.org> | Tue Aug 31 15:19:20 2021 -0300 |
| committer | Michael Stahl <michael.stahl@allotropia.de> | Wed Sep 01 10:50:34 2021 +0200 |
| tree | f0d11358fd02a442823bfaf17aacb1fc551a7b26 | |
| parent | 0b15f026488968885c46026966ab72c376f61313 [diff] |
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 <michael.stahl@allotropia.de>
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 8b925067..72d307d 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx
@@ -1313,7 +1313,7 @@ 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)