summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-08-03 11:17:07 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-08-03 18:31:32 -0430
commite93169a97b1832d00aaf2b3e75a70c7a7f95c19a (patch)
treee662681ddc94811f040b66d46eb897a56ca7904f /sfx2/inc
parent8d35d24f7991e77814838bb6edbfae051a063a6c (diff)
Make local overlay fill all the window.
- Since we dont need to support drag and drop its better to just display the full content of the folder as possible. - Resize overlay when view gets resized. Change-Id: I12909ae14b13dbaf5ec844f94268f8d86a84d91a
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sfx2/templateabstractview.hxx2
-rw-r--r--sfx2/inc/sfx2/templatelocalview.hxx2
-rw-r--r--sfx2/inc/sfx2/templateonlineview.hxx4
3 files changed, 2 insertions, 6 deletions
diff --git a/sfx2/inc/sfx2/templateabstractview.hxx b/sfx2/inc/sfx2/templateabstractview.hxx
index 1907e5c2142c..943b622221bd 100644
--- a/sfx2/inc/sfx2/templateabstractview.hxx
+++ b/sfx2/inc/sfx2/templateabstractview.hxx
@@ -94,6 +94,8 @@ public:
protected:
+ virtual void Resize();
+
virtual void OnSelectionMode (bool bMode);
DECL_LINK(OverlayItemStateHdl, const ThumbnailViewItem*);
diff --git a/sfx2/inc/sfx2/templatelocalview.hxx b/sfx2/inc/sfx2/templatelocalview.hxx
index 67a56ae5d5a9..d0b22d54e049 100644
--- a/sfx2/inc/sfx2/templatelocalview.hxx
+++ b/sfx2/inc/sfx2/templatelocalview.hxx
@@ -55,8 +55,6 @@ public:
private:
- virtual void Resize ();
-
virtual void OnItemDblClicked (ThumbnailViewItem *pRegionItem);
DECL_LINK(ChangeNameHdl, TemplateView*);
diff --git a/sfx2/inc/sfx2/templateonlineview.hxx b/sfx2/inc/sfx2/templateonlineview.hxx
index 035456033820..a3b137312a4f 100644
--- a/sfx2/inc/sfx2/templateonlineview.hxx
+++ b/sfx2/inc/sfx2/templateonlineview.hxx
@@ -40,10 +40,6 @@ public:
private:
- virtual void Resize ();
-
-private:
-
std::vector<TemplateOnlineViewItem*> maRepositories;
com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > m_xCmdEnv;
};