sfx2/source/notebookbar/SfxNotebookBar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 10090f36de159d8e6886ddac3326253ea716d26f Author: Caolán McNamara <[email protected]> AuthorDate: Wed Nov 26 08:46:59 2025 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Wed Nov 26 17:12:32 2025 +0100 avoid terminate after unhandled exception #3 0x00007e29f0a42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #4 0x00007e29f0a287f3 in __GI_abort () at ./stdlib/abort.c:79 #5 0x00007e29f0ea2b9e in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x00007e29f0eae20c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007e29f0eae277 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6 #8 0x00007e29f0eae4d8 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6 #9 0x00007e29ead812a5 in SfxBaseModel::MethodEntryCheck (this=<optimized out>, i_mustBeInitialized=<optimized out>) at sfx2/source/doc/sfxbasemodel.cxx:3069 #10 0x00007e29eca6d629 in SfxModelGuard::SfxModelGuard (i_eState=SfxModelGuard::E_FULLY_ALIVE, i_rModel=..., this=0x7ffc94a61ec0) at sfx2/source/inc/docundomanager.hxx:76 #11 SfxBaseModel::getIdentifier (this=0x27ad5ab0) at sfx2/source/doc/sfxbasemodel.cxx:4015 #12 0x00007e29ec098e03 in (anonymous namespace)::ModuleManager::implts_identify (this=0x328c9cc0, xComponent=...) at framework/source/services/modulemanager.cxx:327 #13 0x00007e29ec0991f3 in (anonymous namespace)::ModuleManager::identify (this=0x328c9cc0, xModule=...) at framework/source/services/modulemanager.cxx:191 #14 0x00007e29ecaa8e0e in sfx2::SfxNotebookBar::IsActive (bConsiderSingleToolbar=<optimized out>) at sfx2/source/notebookbar/SfxNotebookBar.cxx:324 #15 0x00007e29ecaa95ab in sfx2::SfxNotebookBar::StateMethod (pSysWindow=0x36778bf0, xFrame=..., rUIFile=..., bReloadNotebookbar=<optimized out>) at sfx2/source/notebookbar/SfxNotebookBar.cxx:444 #16 0x00007e29dd85707b in sd::DrawDocShell::GetState (this=0x367c3290, rSet=...) at sd/source/ui/docshell/docshell.cxx:327 #17 0x00007e29ec8b67fe in SfxShell::GetSlotState (this=0x367c3290, nSlotId=nSlotId@entry=10338, pIF=<optimized out>, pIF@entry=0x0, pStateSet=pStateSet@entry=0x0) Change-Id: I13918818c04138848020ab8bdb646b0cb08f130a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194619 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> Code-Style: Caolán McNamara <[email protected]> diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx index 424f8e61ff8c..a3a01ba1c422 100644 --- a/sfx2/source/notebookbar/SfxNotebookBar.cxx +++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx @@ -322,7 +322,7 @@ bool SfxNotebookBar::IsActive(bool bConsiderSingleToolbar) { eApp = vcl::EnumContext::GetApplicationEnum(xModuleManager->identify(xFrame)); } - catch (css::frame::UnknownModuleException& e) + catch (css::uno::Exception& e) { SAL_WARN("sfx.appl", "SfxNotebookBar::IsActive(): " + e.Message); return false;
