[Libreoffice-commits] core.git: include/sfx2 sfx2/source
Maxim Monastirsky
momonasmon at gmail.com
Wed May 14 12:47:14 PDT 2014
include/sfx2/recentdocsview.hxx | 4 +---
sfx2/source/control/recentdocsview.cxx | 1 +
2 files changed, 2 insertions(+), 3 deletions(-)
New commits:
commit ed1d0f0c45b616bf67a571d8f09e30673e0be77e
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Wed May 14 22:46:33 2014 +0300
fix build
Change-Id: I40b7f9388388e05ab5b034ac81861aa34a23d2a8
diff --git a/include/sfx2/recentdocsview.hxx b/include/sfx2/recentdocsview.hxx
index 00e339b..453eb3f 100644
--- a/include/sfx2/recentdocsview.hxx
+++ b/include/sfx2/recentdocsview.hxx
@@ -40,9 +40,6 @@ enum ApplicationType
class SFX2_DLLPUBLIC RecentDocsView : public ThumbnailView
{
-private:
- size_t mnLastMouseDownItem = THUMBNAILVIEW_ITEM_NOTFOUND;
-
public:
RecentDocsView( Window* pParent );
virtual ~RecentDocsView();
@@ -80,6 +77,7 @@ protected:
long mnTextHeight;
long mnItemPadding;
long mnItemMaxTextLength;
+ size_t mnLastMouseDownItem;
/// Image that appears when there is no recent document.
Image maWelcomeImage;
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index 0f797f6..80bbde8 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -47,6 +47,7 @@ RecentDocsView::RecentDocsView( Window* pParent )
, maWelcomeImage(SfxResId(IMG_WELCOME))
, maWelcomeLine1(SfxResId(STR_WELCOME_LINE1))
, maWelcomeLine2(SfxResId(STR_WELCOME_LINE2))
+ , mnLastMouseDownItem(THUMBNAILVIEW_ITEM_NOTFOUND)
{
Rectangle aScreen = Application::GetScreenPosSizePixel(Application::GetDisplayBuiltInScreen());
mnItemMaxSize = std::min(aScreen.GetWidth(),aScreen.GetHeight()) > 800 ? 256 : 192;
More information about the Libreoffice-commits
mailing list