diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-27 17:04:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-27 17:22:09 +0100 |
commit | 78bea877ff9471d7308041e65e0d6864a862c91b (patch) | |
tree | f4edfd125043242992c12ffc14e5214c0469affd /svx | |
parent | b733d208b02facaaad8c4925277b34b9f7fd928f (diff) |
OSL_ENSURE->assert where guaranteed deref follows
Change-Id: I6e007cc3a9fd222c1c1381c8b4f890966c05cbab
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galbrws1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx index ddb6bfa9d7be..3705fa960963 100644 --- a/svx/source/gallery2/galbrws1.cxx +++ b/svx/source/gallery2/galbrws1.cxx @@ -272,9 +272,9 @@ void GalleryBrowser1::ImplGalleryThemeProperties( const OUString & rThemeName, b ImplFillExchangeData( pTheme, *mpExchangeData ); SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); - DBG_ASSERT(pFact, "Got no AbstractDialogFactory!"); + assert(pFact && "Got no AbstractDialogFactory!"); VclAbstractDialog2* pThemeProps = pFact->CreateGalleryThemePropertiesDialog( NULL, mpExchangeData, mpThemePropsDlgItemSet ); - DBG_ASSERT(pThemeProps, "Got no GalleryThemePropertiesDialog!"); + assert(pThemeProps && "Got no GalleryThemePropertiesDialog!"); if ( bCreateNew ) { |