summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-07-14 19:30:35 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-07-15 08:15:22 -0430
commit58a404ca3ae47b2a57e2f50d82e633a0f7184116 (patch)
treef2f00d300878b895d2dc0190415f50b586e4e506 /sfx2
parent4cfb62a8a1e128f32a19d06d46cbd5eda124e9b8 (diff)
Inherit from TemplateAbstractClass instead of ThumbnailView.
Change-Id: If48b413fc4a409fbbce7a0b8c7de99c6b9ce91ad
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/templatefolderview.hxx4
-rw-r--r--sfx2/inc/sfx2/templateonlineview.hxx4
-rw-r--r--sfx2/source/control/templatefolderview.cxx2
-rw-r--r--sfx2/source/control/templateonlineview.cxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/inc/sfx2/templatefolderview.hxx b/sfx2/inc/sfx2/templatefolderview.hxx
index c969a2a861d4..db4a33a8d35e 100644
--- a/sfx2/inc/sfx2/templatefolderview.hxx
+++ b/sfx2/inc/sfx2/templatefolderview.hxx
@@ -12,8 +12,8 @@
#include <set>
+#include <sfx2/templateabstractview.hxx>
#include <sfx2/templateproperties.hxx>
-#include <sfx2/thumbnailview.hxx>
class SfxDocumentTemplates;
class TemplateFolderViewItem;
@@ -28,7 +28,7 @@ enum FILTER_APPLICATION
FILTER_APP_DRAW
};
-class SFX2_DLLPUBLIC TemplateFolderView : public ThumbnailView
+class SFX2_DLLPUBLIC TemplateFolderView : public TemplateAbstractView
{
public:
diff --git a/sfx2/inc/sfx2/templateonlineview.hxx b/sfx2/inc/sfx2/templateonlineview.hxx
index c5b26d36d889..64ff27d26f05 100644
--- a/sfx2/inc/sfx2/templateonlineview.hxx
+++ b/sfx2/inc/sfx2/templateonlineview.hxx
@@ -10,13 +10,13 @@
#ifndef __SFX2_TEMPLATEONLINEVIEW_HXX__
#define __SFX2_TEMPLATEONLINEVIEW_HXX__
-#include <sfx2/thumbnailview.hxx>
+#include <sfx2/templateabstractview.hxx>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
class TemplateView;
-class TemplateOnlineView : public ThumbnailView
+class TemplateOnlineView : public TemplateAbstractView
{
public:
diff --git a/sfx2/source/control/templatefolderview.cxx b/sfx2/source/control/templatefolderview.cxx
index a23114dca700..eb6031d07443 100644
--- a/sfx2/source/control/templatefolderview.cxx
+++ b/sfx2/source/control/templatefolderview.cxx
@@ -270,7 +270,7 @@ private:
};
TemplateFolderView::TemplateFolderView ( Window* pParent, const ResId& rResId, bool bDisableTransientChildren)
- : ThumbnailView(pParent,rResId,bDisableTransientChildren),
+ : TemplateAbstractView(pParent,rResId,bDisableTransientChildren),
mbFilteredResults(false),
meFilterOption(FILTER_APP_NONE),
mpDocTemplates(new SfxDocumentTemplates),
diff --git a/sfx2/source/control/templateonlineview.cxx b/sfx2/source/control/templateonlineview.cxx
index 379acd35ee3a..570a86e79001 100644
--- a/sfx2/source/control/templateonlineview.cxx
+++ b/sfx2/source/control/templateonlineview.cxx
@@ -47,7 +47,7 @@ enum
};
TemplateOnlineView::TemplateOnlineView (Window *pParent, WinBits nWinStyle, bool bDisableTransientChildren)
- : ThumbnailView(pParent,nWinStyle,bDisableTransientChildren),
+ : TemplateAbstractView(pParent,nWinStyle,bDisableTransientChildren),
mpItemView(new TemplateView(this,NULL))
{
mpItemView->SetColor(Color(COL_WHITE));