diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-10 22:26:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-11 11:55:04 +0000 |
commit | 328e09955a612b8bcd6962f8af1b5dfb7272871a (patch) | |
tree | 61579837ac6ee0976d7d671e1120eeee2cf78489 /svx | |
parent | 6ddb02bad568be58c8728a40c43b81232c1ca4a0 (diff) |
callcatcher: remove some unused code
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/gallery.hxx | 3 | ||||
-rw-r--r-- | svx/source/gallery2/galexpl.cxx | 15 |
2 files changed, 0 insertions, 18 deletions
diff --git a/svx/inc/svx/gallery.hxx b/svx/inc/svx/gallery.hxx index eb2b604250fc..236216da4ff4 100644 --- a/svx/inc/svx/gallery.hxx +++ b/svx/inc/svx/gallery.hxx @@ -244,7 +244,6 @@ public: const sal_uIntPtr nSgaFormat /* = SGA_FORMAT_ALL */ ); static sal_uIntPtr GetObjCount( const String& rThemeName ); - static sal_uIntPtr GetObjCount( sal_uIntPtr nThemeId ); static sal_Bool GetGraphicObj( const String& rThemeName, sal_uIntPtr nPos, Graphic* pGraphic = NULL, Bitmap* pThumb = NULL, @@ -266,8 +265,6 @@ public: static sal_Bool EndLocking( const String& rThemeName ); static sal_Bool EndLocking( sal_uIntPtr nThemeId ); - - static sal_Bool DrawCentered( OutputDevice* pOut, const FmFormModel& rModel ); }; #endif // _GALLERY_HXX_ diff --git a/svx/source/gallery2/galexpl.cxx b/svx/source/gallery2/galexpl.cxx index a107ea8a6b0d..ccf9b00d7535 100644 --- a/svx/source/gallery2/galexpl.cxx +++ b/svx/source/gallery2/galexpl.cxx @@ -253,14 +253,6 @@ sal_uIntPtr GalleryExplorer::GetObjCount( const String& rThemeName ) // ------------------------------------------------------------------------ -sal_uIntPtr GalleryExplorer::GetObjCount( sal_uIntPtr nThemeId ) -{ - Gallery* pGal = ImplGetGallery(); - return( pGal ? GetObjCount( pGal->GetThemeName( nThemeId ) ) : sal_False ); -} - -// ------------------------------------------------------------------------ - sal_Bool GalleryExplorer::GetGraphicObj( const String& rThemeName, sal_uIntPtr nPos, Graphic* pGraphic, Bitmap* pThumb, sal_Bool bProgress ) @@ -445,11 +437,4 @@ sal_Bool GalleryExplorer::EndLocking( sal_uIntPtr nThemeId ) return( pGal ? EndLocking( pGal->GetThemeName( nThemeId ) ) : sal_False ); } -// ----------------------------------------------------------------------------- - -sal_Bool GalleryExplorer::DrawCentered( OutputDevice* pOut, const FmFormModel& rModel ) -{ - return SgaObjectSvDraw::DrawCentered( pOut, rModel ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |