From ead19f4c62c8d74292a7ba589df2ca118cea3240 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 1 May 2024 10:27:25 +0100 Subject: WaE: C6011 Dereferencing NULL pointer warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic2231df89b900c17beac4627e3573b45aef0bc26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166954 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sfx2/source/sidebar/SidebarDockingWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source/sidebar/SidebarDockingWindow.cxx') diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx index d0edf8066332..f0939c8433bc 100644 --- a/sfx2/source/sidebar/SidebarDockingWindow.cxx +++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx @@ -47,7 +47,7 @@ SidebarDockingWindow::SidebarDockingWindow(SfxBindings* pSfxBindings, SidebarChi // Get the XFrame from the bindings. if (pSfxBindings==nullptr || pSfxBindings->GetDispatcher()==nullptr) { - OSL_ASSERT(pSfxBindings!=nullptr); + assert(pSfxBindings != nullptr); OSL_ASSERT(pSfxBindings->GetDispatcher()!=nullptr); } else if (!comphelper::LibreOfficeKit::isActive()) -- cgit