summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/gallery1.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-23 08:23:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-23 12:55:40 +0100
commit961305e072417abb47d352e04db12df15499f56a (patch)
treeb00b60ac5b3128b15ff4cb1264fb370873f04d72 /svx/source/gallery2/gallery1.cxx
parented8cb1ae0ff1537d2885c2d3cde50a2b6dd4a29d (diff)
callcatcher: Gallery::GetImportURL freshly unused
since 6d6198393e0677710191248d6f7c9ec15d0f0e0f Change-Id: I8c08088453027ab7aa0ca964262456475f767a5f
Diffstat (limited to 'svx/source/gallery2/gallery1.cxx')
-rw-r--r--svx/source/gallery2/gallery1.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx
index f50b3c6ff2da..7f4303522646 100644
--- a/svx/source/gallery2/gallery1.cxx
+++ b/svx/source/gallery2/gallery1.cxx
@@ -467,16 +467,6 @@ GalleryThemeEntry* Gallery::ImplGetThemeEntry( const rtl::OUString& rThemeName )
// ------------------------------------------------------------------------
-GalleryImportThemeEntry* Gallery::ImplGetImportThemeEntry( const rtl::OUString& rImportName )
-{
- for ( size_t i = 0, n = aImportList.size(); i < n; ++i )
- if ( rImportName == aImportList[ i ]->aUIName )
- return aImportList[ i ];
- return NULL;
-}
-
-// ------------------------------------------------------------------------
-
rtl::OUString Gallery::GetThemeName( sal_uIntPtr nThemeId ) const
{
GalleryThemeEntry* pFound = NULL;
@@ -636,22 +626,6 @@ sal_Bool Gallery::RemoveTheme( const String& rThemeName )
// ------------------------------------------------------------------------
-INetURLObject Gallery::GetImportURL( const String& rThemeName )
-{
- INetURLObject aURL;
- GalleryImportThemeEntry* pImportEntry = ImplGetImportThemeEntry( rThemeName );
-
- if( pImportEntry )
- {
- aURL = pImportEntry->aURL;
- DBG_ASSERT( aURL.GetProtocol() != INET_PROT_NOT_VALID, "invalid URL" );
- }
-
- return aURL;
-}
-
-// ------------------------------------------------------------------------
-
GalleryTheme* Gallery::ImplGetCachedTheme( const GalleryThemeEntry* pThemeEntry )
{
GalleryTheme* pTheme = NULL;