sfx2/source/dialog/backingcomp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 80108b903d30c7ea61d25d890f80be1a9a6f7cbd Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Mon Jan 13 13:55:59 2025 +0100 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Mon Jan 13 18:59:29 2025 +0100 loplugin:redundantcast Change-Id: I8c26a439679359553d387686d9a11718a106ef5a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180181 Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> Tested-by: Jenkins diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx index 2992cb3890e5..7bddf0c8234a 100644 --- a/sfx2/source/dialog/backingcomp.cxx +++ b/sfx2/source/dialog/backingcomp.cxx @@ -401,7 +401,7 @@ void SAL_CALL BackingComp::attachFrame( /*IN*/ const css::uno::Reference< css::f pBack->get_height_request() + nMenuHeight)); #ifdef MACOSX - SystemWindow *pSysWin = static_cast<SystemWindow*>(pParent.get()); + SystemWindow *pSysWin = pParent.get(); if (pSysWin) ShutdownIcon::SetDefaultMenuBar(pSysWin->GetMenuBar()); #endif