diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-01 20:28:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-02 09:24:11 +0200 |
commit | 41590e7d1f8ee67c7d5c29c89a9b246c8c8f0f05 (patch) | |
tree | 8550293a2dc028b84799b4721b8b369eba97e6d8 /svx/source/fmcomp/fmgridcl.cxx | |
parent | caf719c59c6dc8db2b6a0eab8d47760277f112a3 (diff) |
WaE: C6011 Dereferencing NULL pointer warnings
Change-Id: I8edb1fefe1b2b8a3db3ee8f3a0eed59c7f08a36e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166863
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'svx/source/fmcomp/fmgridcl.cxx')
-rw-r--r-- | svx/source/fmcomp/fmgridcl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 2fe0a5430e03..e77ad64aa714 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -1760,7 +1760,7 @@ void FmGridControl::HideColumn(sal_uInt16 nId) bool FmGridControl::isColumnSelected(DbGridColumn const * _pColumn) const { - OSL_ENSURE(_pColumn,"Column can not be null!"); + assert(_pColumn && "Column can not be null!"); bool bSelected = false; // if the column which is shown here is selected ... Reference< css::view::XSelectionSupplier > xSelSupplier(GetPeer()->getColumns(), UNO_QUERY); |