vcl/source/window/menufloatingwindow.cxx |    2 +-
 vcl/source/window/syswin.cxx             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 07e3981685b0ed0db5ef353ea41b5a17fbcfc9f4
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Fri Apr 25 09:01:36 2025 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Fri Apr 25 10:31:23 2025 +0200

    Simplify default ctor calls
    
    Change-Id: I7a9df9d0b81840549de945f94efbffe69bd430f4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184603
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/vcl/source/window/menufloatingwindow.cxx 
b/vcl/source/window/menufloatingwindow.cxx
index d49469a7ab2c..2972f6fb643b 100644
--- a/vcl/source/window/menufloatingwindow.cxx
+++ b/vcl/source/window/menufloatingwindow.cxx
@@ -92,7 +92,7 @@ void MenuFloatingWindow::doShutdown()
     }
 
     // free the reference to the accessible component
-    SetAccessible( css::uno::Reference< css::accessibility::XAccessible >() );
+    SetAccessible({});
 
     aHighlightChangedTimer.Stop();
 
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 046a66aa1d56..4f5c08d560b5 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -871,7 +871,7 @@ void SystemWindow::SetMenuBar(MenuBar* pMenuBar)
         if ( pOldWindow )
         {
             CallEventListeners( VclEventId::WindowMenubarRemoved, 
static_cast<void*>(pOldMenuBar) );
-            pOldWindow->SetAccessible( css::uno::Reference< 
css::accessibility::XAccessible >() );
+            pOldWindow->SetAccessible({});
         }
         if ( pMenuBar )
         {

Reply via email to