From 5ace3f3b4f2f916d8b2acab1b5cc0fe2a5a19dee Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 1 Jul 2014 09:59:26 +0100 Subject: clang scan-build: various warnings Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713 --- sfx2/source/view/frame.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx index 26c6b5fe539d..283c2119cedb 100644 --- a/sfx2/source/view/frame.cxx +++ b/sfx2/source/view/frame.cxx @@ -416,7 +416,7 @@ void SfxFrame::UpdateDescriptor( SfxObjectShell *pDoc ) // Here only the fixed properties identified "other adjustable, the // retrieved by GetViewData (saves time). - DBG_ASSERT( pDoc, "NULL-Document inserted ?!" ); + assert(pDoc && "NULL-Document inserted ?!"); GetParentFrame(); const SfxMedium *pMed = pDoc->GetMedium(); -- cgit