summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-07-29 15:43:18 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-07-29 21:29:29 -0430
commit76b7f976e4020b90ef5be7151944dd98abd927d7 (patch)
tree381caa12921c41f9a7c405362b473d9ae7d91a44 /sfx2/inc
parent724d575e79797bb2b734d39f91ae5e2806f2e528 (diff)
Move fetching thumbnail functions to TemplateAbstractView.
- Reallocate lcl_ScaleImg and lcl_fetchThumbnail to be available for other classes to use them. - Mark this functions as static public. Change-Id: Ia64a1bad76d7d47519f50e144daa6ea78dfa0e59
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sfx2/templateabstractview.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/inc/sfx2/templateabstractview.hxx b/sfx2/inc/sfx2/templateabstractview.hxx
index 8bb6426cd4ec..24ca449d038e 100644
--- a/sfx2/inc/sfx2/templateabstractview.hxx
+++ b/sfx2/inc/sfx2/templateabstractview.hxx
@@ -41,6 +41,10 @@ public:
void setOverlayCloseHdl (const Link &rLink);
+ static BitmapEx scaleImg (const BitmapEx &rImg, long width, long height);
+
+ static BitmapEx fetchThumbnail (const rtl::OUString &msURL, long width, long height);
+
protected:
virtual void OnSelectionMode (bool bMode);