diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-04 08:56:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-04 09:00:06 +0100 |
commit | 7c1a74b62ec33d6994445a7fb9d91088b3067316 (patch) | |
tree | 53105d3d2eabbbae3d13f489e2a40cbd5a48ac39 /svx/source/gallery2/galexpl.cxx | |
parent | 7d31a252b12b619a91ac8711b64d0968e055e1fb (diff) |
regenerate list
Diffstat (limited to 'svx/source/gallery2/galexpl.cxx')
-rw-r--r-- | svx/source/gallery2/galexpl.cxx | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/svx/source/gallery2/galexpl.cxx b/svx/source/gallery2/galexpl.cxx index d5add09c8ac5..a107ea8a6b0d 100644 --- a/svx/source/gallery2/galexpl.cxx +++ b/svx/source/gallery2/galexpl.cxx @@ -300,28 +300,6 @@ sal_Bool GalleryExplorer::GetGraphicObj( sal_uIntPtr nThemeId, sal_uIntPtr nPos, // ------------------------------------------------------------------------ -sal_Bool GalleryExplorer::InsertGraphicObj( const String& rThemeName, const Graphic& rGraphic ) -{ - Gallery* pGal = ImplGetGallery(); - sal_Bool bRet = sal_False; - - if( pGal ) - { - SfxListener aListener; - GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); - - if( pTheme ) - { - bRet = pTheme->InsertGraphic( rGraphic ); - pGal->ReleaseTheme( pTheme, aListener ); - } - } - - return bRet; -} - -// ------------------------------------------------------------------------ - sal_uIntPtr GalleryExplorer::GetSdrObjCount( const String& rThemeName ) { Gallery* pGal = ImplGetGallery(); @@ -399,28 +377,6 @@ sal_Bool GalleryExplorer::GetSdrObj( sal_uIntPtr nThemeId, sal_uIntPtr nSdrModel return( pGal ? GetSdrObj( pGal->GetThemeName( nThemeId ), nSdrModelPos, pModel, pThumb ) : sal_False ); } -// ------------------------------------------------------------------------ - -sal_Bool GalleryExplorer::InsertSdrObj( const String& rThemeName, FmFormModel& rModel ) -{ - Gallery* pGal = ImplGetGallery(); - sal_Bool bRet = sal_False; - - if( pGal ) - { - SfxListener aListener; - GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); - - if( pTheme ) - { - bRet = pTheme->InsertModel( rModel ); - pGal->ReleaseTheme( pTheme, aListener ); - } - } - - return bRet; -} - // ----------------------------------------------------------------------------- sal_Bool GalleryExplorer::BeginLocking( const String& rThemeName ) |