From 328e09955a612b8bcd6962f8af1b5dfb7272871a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 10 Nov 2011 22:26:44 +0000 Subject: callcatcher: remove some unused code --- svx/inc/svx/gallery.hxx | 3 --- svx/source/gallery2/galexpl.cxx | 15 --------------- 2 files changed, 18 deletions(-) (limited to 'svx') 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: */ -- cgit