summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-04-30 20:41:27 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-01 09:17:34 +0200
commited3ce7bfeb2a22c17071fd02f61fa2c819a35c89 (patch)
tree040a30bde7a2e45568e58897823d4b5175453b80 /idl
parentfdbc8d1374e2a9fde6c99acbe6923a277695a0a3 (diff)
WaE: C6011 Dereferencing NULL pointer warnings
Change-Id: I6eb8e490e878349f2063910e0cbc901aa7a6d524 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166942 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'idl')
-rw-r--r--idl/source/objects/types.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx
index 1089e929043c..f6a77e77e07a 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -99,9 +99,9 @@ bool SvMetaAttribute::ReadSvIdl( SvIdlDataBase & rBase,
size_t SvMetaAttribute::MakeSfx( OStringBuffer& rAttrArray ) const
{
SvMetaType * pType = GetType();
- DBG_ASSERT( pType, "no type for attribute" );
+ assert(pType && "no type for attribute");
SvMetaType * pBaseType = pType->GetBaseType();
- DBG_ASSERT( pBaseType, "no base type for attribute" );
+ assert(pBaseType && "no base type for attribute");
if( pBaseType->GetMetaTypeType() == MetaTypeType::Struct )
return pBaseType->MakeSfx( rAttrArray );
else