summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-13 21:16:31 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-14 13:05:35 +0200
commit07234f2b7ccc1ffa1e253344193982bad04104f1 (patch)
tree9fa483835acb301e5d8ad40ab56df41a13b43980
parent194e5bfaf79c0a15fee07bfe8326c3f3ceb783b8 (diff)
WaE: C6011 Dereferencing NULL pointer warnings
Change-Id: I3a65485cc890d6bb6bf1197a3f296634ebffa02c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167612 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r--vcl/win/dtrans/MtaOleClipb.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/dtrans/MtaOleClipb.cxx b/vcl/win/dtrans/MtaOleClipb.cxx
index 3fb2051472b7..151c08ef9754 100644
--- a/vcl/win/dtrans/MtaOleClipb.cxx
+++ b/vcl/win/dtrans/MtaOleClipb.cxx
@@ -689,7 +689,7 @@ unsigned __stdcall CMtaOleClipboard::clipboardChangedNotifierThreadProc(void* pP
{
osl_setThreadName("CMtaOleClipboard::clipboardChangedNotifierThreadProc()");
CMtaOleClipboard* pInst = static_cast< CMtaOleClipboard* >( pParam );
- OSL_ASSERT( nullptr != pInst );
+ assert(pInst);
sal::systools::CoInitializeGuard aGuard(COINIT_APARTMENTTHREADED, false,
sal::systools::CoInitializeGuard::WhenFailed::NoThrow);