Kaydet (Commit) ed1d0f0c authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

fix build

Change-Id: I40b7f9388388e05ab5b034ac81861aa34a23d2a8
üst f22d6514
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment