summaryrefslogtreecommitdiffstats
path: root/svx/source/gallery2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-12 12:53:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-14 07:35:58 +0000
commit1987a5c7772fafc1e863deeead9081fd747f7713 (patch)
treeeb7e7f1c8ffddd7faaafe709695d83efa1e3a85c /svx/source/gallery2
parentcan ditch the ByteStringPtr typedef now (diff)
downloadcore-1987a5c7772fafc1e863deeead9081fd747f7713.tar.gz
core-1987a5c7772fafc1e863deeead9081fd747f7713.zip
callcatcher: remove unused code
Diffstat (limited to 'svx/source/gallery2')
-rw-r--r--svx/source/gallery2/galexpl.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/svx/source/gallery2/galexpl.cxx b/svx/source/gallery2/galexpl.cxx
index ccf9b00d7535..2dac30d73759 100644
--- a/svx/source/gallery2/galexpl.cxx
+++ b/svx/source/gallery2/galexpl.cxx
@@ -231,28 +231,6 @@ sal_Bool GalleryExplorer::InsertURL( sal_uIntPtr nThemeId, const String& rURL, c
// ------------------------------------------------------------------------
-sal_uIntPtr GalleryExplorer::GetObjCount( const String& rThemeName )
-{
- Gallery* pGal = ImplGetGallery();
- sal_uIntPtr nRet = 0;
-
- if( pGal )
- {
- SfxListener aListener;
- GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener );
-
- if( pTheme )
- {
- nRet = pTheme->GetObjectCount();
- pGal->ReleaseTheme( pTheme, aListener );
- }
- }
-
- return nRet;
-}
-
-// ------------------------------------------------------------------------
-
sal_Bool GalleryExplorer::GetGraphicObj( const String& rThemeName, sal_uIntPtr nPos,
Graphic* pGraphic, Bitmap* pThumb,
sal_Bool bProgress )