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 | |
parent | no need to continue, delete NULL is safe (diff) | |
download | core-7c1a74b62ec33d6994445a7fb9d91088b3067316.tar.gz core-7c1a74b62ec33d6994445a7fb9d91088b3067316.zip |
regenerate list
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/galbrws.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/gallery.hxx | 4 | ||||
-rw-r--r-- | svx/source/gallery2/galbrws.cxx | 7 | ||||
-rw-r--r-- | svx/source/gallery2/galexpl.cxx | 44 |
4 files changed, 0 insertions, 56 deletions
diff --git a/svx/inc/svx/galbrws.hxx b/svx/inc/svx/galbrws.hxx index 1fd7c5e5bc8f..2d9c20a472e4 100644 --- a/svx/inc/svx/galbrws.hxx +++ b/svx/inc/svx/galbrws.hxx @@ -108,7 +108,6 @@ public: INetURLObject GetURL() const; String GetFilterName() const; Graphic GetGraphic() const; - sal_Bool GetVCDrawModel( FmFormModel& rModel ) const; sal_Bool IsLinkage() const; sal_Bool KeyInput( const KeyEvent& rKEvt, Window* pWindow ); diff --git a/svx/inc/svx/gallery.hxx b/svx/inc/svx/gallery.hxx index a04659d5158a..eb2b604250fc 100644 --- a/svx/inc/svx/gallery.hxx +++ b/svx/inc/svx/gallery.hxx @@ -253,8 +253,6 @@ public: Graphic* pGraphic = NULL, Bitmap* pThumb = NULL, sal_Bool bProgess = sal_False ); - static sal_Bool InsertGraphicObj( const String& rThemeName, const Graphic& rGraphic ); - static sal_uIntPtr GetSdrObjCount( const String& rThemeName ); static sal_uIntPtr GetSdrObjCount( sal_uIntPtr nThemeId ); @@ -263,8 +261,6 @@ public: static sal_Bool GetSdrObj( sal_uIntPtr nThemeId, sal_uIntPtr nSdrModelPos, SdrModel* pModel = NULL, Bitmap* pThumb = NULL ); - static sal_Bool InsertSdrObj( const String& rThemeName, FmFormModel& rModel ); - static sal_Bool BeginLocking( const String& rThemeName ); static sal_Bool BeginLocking( sal_uIntPtr nThemeId ); diff --git a/svx/source/gallery2/galbrws.cxx b/svx/source/gallery2/galbrws.cxx index ba95d07ba8cf..ecae40d1912f 100644 --- a/svx/source/gallery2/galbrws.cxx +++ b/svx/source/gallery2/galbrws.cxx @@ -263,13 +263,6 @@ Graphic GalleryBrowser::GetGraphic() const // ----------------------------------------------------------------------------- -sal_Bool GalleryBrowser::GetVCDrawModel( FmFormModel& rModel ) const -{ - return mpBrowser2->GetVCDrawModel( rModel ); -} - -// ----------------------------------------------------------------------------- - sal_Bool GalleryBrowser::IsLinkage() const { return mpBrowser2->IsLinkage(); 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 ) |