diff options
Diffstat (limited to 'svx/source/unogallery/unogalitem.cxx')
-rw-r--r-- | svx/source/unogallery/unogalitem.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/unogallery/unogalitem.cxx b/svx/source/unogallery/unogalitem.cxx index 76819413ca94..2cc2c892668b 100644 --- a/svx/source/unogallery/unogalitem.cxx +++ b/svx/source/unogallery/unogalitem.cxx @@ -73,7 +73,7 @@ GalleryItem::~GalleryItem() bool GalleryItem::isValid() const { - return( mpTheme != NULL ); + return( mpTheme != nullptr ); } @@ -269,7 +269,7 @@ void GalleryItem::_setPropertyValues( const comphelper::PropertyMapEntry** ppEnt if( *pValues >>= aNewTitle ) { - ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : NULL ); + ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : nullptr ); if( pGalTheme ) { @@ -316,7 +316,7 @@ void GalleryItem::_getPropertyValues( const comphelper::PropertyMapEntry** ppEnt case( UNOGALLERY_URL ): { - ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : NULL ); + ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : nullptr ); if( pGalTheme ) *pValue <<= OUString( implGetObject()->aURL.GetMainURL( INetURLObject::NO_DECODE ) ); @@ -325,7 +325,7 @@ void GalleryItem::_getPropertyValues( const comphelper::PropertyMapEntry** ppEnt case( UNOGALLERY_TITLE ): { - ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : NULL ); + ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : nullptr ); if( pGalTheme ) { @@ -342,7 +342,7 @@ void GalleryItem::_getPropertyValues( const comphelper::PropertyMapEntry** ppEnt case( UNOGALLERY_THUMBNAIL ): { - ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : NULL ); + ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : nullptr ); if( pGalTheme ) { @@ -366,7 +366,7 @@ void GalleryItem::_getPropertyValues( const comphelper::PropertyMapEntry** ppEnt case( UNOGALLERY_GRAPHIC ): { - ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : NULL ); + ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : nullptr ); Graphic aGraphic; if( pGalTheme && pGalTheme->GetGraphic( pGalTheme->ImplGetGalleryObjectPos( implGetObject() ), aGraphic ) ) @@ -378,7 +378,7 @@ void GalleryItem::_getPropertyValues( const comphelper::PropertyMapEntry** ppEnt { if( gallery::GalleryItemType::DRAWING == getType() ) { - ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : NULL ); + ::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : nullptr ); FmFormModel* pModel = new FmFormModel; pModel->GetItemPool().FreezeIdRanges(); @@ -411,8 +411,8 @@ void GalleryItem::implSetInvalid() { if( mpTheme ) { - mpTheme = NULL; - mpGalleryObject = NULL; + mpTheme = nullptr; + mpGalleryObject = nullptr; } } |