diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-12-17 22:06:18 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-12-18 09:30:15 +0100 |
commit | 0bb7f12f53b46e105ab3e8fcb281f3cc9466753f (patch) | |
tree | a0deccbc19b5baede33a957903347579c4d5ace7 /sfx2/inc | |
parent | 9ab9436aa84a6a7c4cc23b517be7025664595dfe (diff) |
sfx2: rename TemplateRemoteViewItem to TemplateRepository
Change-Id: I7a7479f0264f38aa0193d50acfe58b20ff57d8d0
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/sfx2/templateremoteview.hxx | 4 | ||||
-rw-r--r-- | sfx2/inc/sfx2/templaterepository.hxx | 6 | ||||
-rw-r--r-- | sfx2/inc/templatedlg.hxx | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/inc/sfx2/templateremoteview.hxx b/sfx2/inc/sfx2/templateremoteview.hxx index e8076f641a00..ad9546392172 100644 --- a/sfx2/inc/sfx2/templateremoteview.hxx +++ b/sfx2/inc/sfx2/templateremoteview.hxx @@ -15,7 +15,7 @@ #include <com/sun/star/ucb/XCommandEnvironment.hpp> -class TemplateRemoteViewItem; +class TemplateRepository; class TemplateRemoteView : public TemplateAbstractView { @@ -29,7 +29,7 @@ public: virtual void showOverlay (bool bVisible); - bool loadRepository (TemplateRemoteViewItem* pRepository, bool bRefresh); + bool loadRepository (TemplateRepository* pRepository, bool bRefresh); private: diff --git a/sfx2/inc/sfx2/templaterepository.hxx b/sfx2/inc/sfx2/templaterepository.hxx index 56f6f7525e58..0c7725c26067 100644 --- a/sfx2/inc/sfx2/templaterepository.hxx +++ b/sfx2/inc/sfx2/templaterepository.hxx @@ -12,13 +12,13 @@ #include <sfx2/templateproperties.hxx> -class TemplateRemoteViewItem +class TemplateRepository { public: - TemplateRemoteViewItem () : mnId(0) { }; + TemplateRepository () : mnId(0) { }; - virtual ~TemplateRemoteViewItem () { }; + virtual ~TemplateRepository () { }; void setURL (const rtl::OUString &rURL) { maUrl = rURL; } diff --git a/sfx2/inc/templatedlg.hxx b/sfx2/inc/templatedlg.hxx index 73c420a88706..44a665312dce 100644 --- a/sfx2/inc/templatedlg.hxx +++ b/sfx2/inc/templatedlg.hxx @@ -22,7 +22,7 @@ class SfxTemplateInfoDlg; class TemplateAbstractView; class TemplateLocalView; class TemplateRemoteView; -class TemplateRemoteViewItem; +class TemplateRepository; class TemplateSearchView; class ThumbnailView; class ThumbnailViewItem; @@ -113,7 +113,7 @@ private: // Remote repositories handling methods void loadRepositories (); - const std::vector<TemplateRemoteViewItem*>& getRepositories () const { return maRepositories; } + const std::vector<TemplateRepository*>& getRepositories () const { return maRepositories; } bool insertRepository (const OUString &rName, const OUString &rURL); @@ -146,7 +146,7 @@ private: com::sun::star::uno::Reference< com::sun::star::frame::XComponentLoader > mxDesktop; bool mbIsSynced; ///< Tells whether maRepositories is synchronized with the user config - std::vector<TemplateRemoteViewItem*> maRepositories; ///< Stores the remote repositories for templates + std::vector<TemplateRepository*> maRepositories; ///< Stores the remote repositories for templates }; #endif // TEMPLATEDLG_HXX |