From 58a404ca3ae47b2a57e2f50d82e633a0f7184116 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Sat, 14 Jul 2012 19:30:35 -0430 Subject: Inherit from TemplateAbstractClass instead of ThumbnailView. Change-Id: If48b413fc4a409fbbce7a0b8c7de99c6b9ce91ad --- sfx2/inc/sfx2/templatefolderview.hxx | 4 ++-- sfx2/inc/sfx2/templateonlineview.hxx | 4 ++-- sfx2/source/control/templatefolderview.cxx | 2 +- sfx2/source/control/templateonlineview.cxx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sfx2') 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 +#include #include -#include 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 +#include #include 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)); -- cgit v1.2.3