diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-01 10:27:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-01 13:25:04 +0200 |
commit | ead19f4c62c8d74292a7ba589df2ca118cea3240 (patch) | |
tree | 69fa5d9bf938e7e1532b75183730c7800cf793ae /sfx2/source/sidebar/SidebarDockingWindow.cxx | |
parent | 1d95bd8e5fcdcc241f4c945a4f01486df8e61f88 (diff) |
WaE: C6011 Dereferencing NULL pointer warnings
Change-Id: Ic2231df89b900c17beac4627e3573b45aef0bc26
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166954
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sfx2/source/sidebar/SidebarDockingWindow.cxx')
-rw-r--r-- | sfx2/source/sidebar/SidebarDockingWindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |