diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-05-13 11:07:47 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-05-15 09:37:40 +0100 |
commit | d5051efa3b67129a0eeca16334ea342f7e4107b8 (patch) | |
tree | ac705191adfdf44e97c39417d2797957cfc3c442 /include/svx/gallery1.hxx | |
parent | 8e318ce626fb682e48dae70a910198d3891bc81d (diff) |
gallery: remove obsolete GalleryImportThemeEntry
Change-Id: I024bfa537360339befdc67a2fa2b51b15d9c3611
Diffstat (limited to 'include/svx/gallery1.hxx')
-rw-r--r-- | include/svx/gallery1.hxx | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/include/svx/gallery1.hxx b/include/svx/gallery1.hxx index 2be6b788a50c..912e337d59e8 100644 --- a/include/svx/gallery1.hxx +++ b/include/svx/gallery1.hxx @@ -80,24 +80,6 @@ public: typedef ::std::vector< GalleryThemeEntry* > GalleryThemeList; -// --------------------------- -// - GalleryImportThemeEntry - -// --------------------------- - -struct GalleryImportThemeEntry -{ - OUString aThemeName; - OUString aUIName; - INetURLObject aURL; -}; - -typedef ::std::vector< GalleryImportThemeEntry* > GalleryImportThemeList; - -// ----------------------------------------------------------------------------- - -SvStream& operator<<( SvStream& rOut, const GalleryImportThemeEntry& rEntry ); -SvStream& operator>>( SvStream& rIn, GalleryImportThemeEntry& rEntry ); - // ----------- // - Gallery - // ----------- @@ -110,14 +92,13 @@ class Gallery : public SfxBroadcaster { // only for gengal utility! friend Gallery* createGallery( const OUString& ); - friend void disposeGallery( Gallery* ); + friend void disposeGallery( Gallery* ); typedef std::vector<GalleryThemeCacheEntry*> GalleryCacheThemeList; private: GalleryThemeList aThemeList; - GalleryImportThemeList aImportList; GalleryCacheThemeList aThemeCache; INetURLObject aRelURL; INetURLObject aUserURL; @@ -145,12 +126,12 @@ public: { return nPos < aThemeList.size() ? aThemeList[ nPos ] : NULL; } const GalleryThemeEntry* GetThemeInfo( const String& rThemeName ) { return ImplGetThemeEntry( rThemeName ); } - SVX_DLLPUBLIC sal_Bool HasTheme( const String& rThemeName ); - OUString GetThemeName( sal_uIntPtr nThemeId ) const; + SVX_DLLPUBLIC sal_Bool HasTheme( const String& rThemeName ); + OUString GetThemeName( sal_uIntPtr nThemeId ) const; - SVX_DLLPUBLIC sal_Bool CreateTheme( const String& rThemeName ); - sal_Bool RenameTheme( const String& rOldName, const String& rNewName ); - SVX_DLLPUBLIC sal_Bool RemoveTheme( const String& rThemeName ); + SVX_DLLPUBLIC sal_Bool CreateTheme( const String& rThemeName ); + sal_Bool RenameTheme( const String& rOldName, const String& rNewName ); + SVX_DLLPUBLIC sal_Bool RemoveTheme( const String& rThemeName ); SVX_DLLPUBLIC GalleryTheme* AcquireTheme( const String& rThemeName, SfxListener& rListener ); SVX_DLLPUBLIC void ReleaseTheme( GalleryTheme* pTheme, SfxListener& rListener ); @@ -160,7 +141,7 @@ public: const INetURLObject& GetUserURL() const { return aUserURL; } const INetURLObject& GetRelativeURL() const { return aRelURL; } - sal_Bool IsMultiPath() const { return bMultiPath; } + sal_Bool IsMultiPath() const { return bMultiPath; } }; #endif // _SVX_GALLERY1_HXX_ |