summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/docprev.hxx
diff options
context:
space:
mode:
authorPalenik Mihály <palenik.mihaly@gmail.com>2014-06-20 02:35:05 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-06-23 12:14:14 +0000
commit9701a7ca9858f6a286a7c75fa83dcb5d89cb5033 (patch)
tree402685e9f51061295ea1dcd14dceed482b32e83b /sd/source/ui/inc/docprev.hxx
parent707a648eb3d8b8c216d4ee1d1f738552c6ac50a0 (diff)
Convert DLG_ASS to .ui
Change-Id: I29ee55654391f24399aea24fc02c49c430c4e839 Reviewed-on: https://gerrit.libreoffice.org/9834 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/inc/docprev.hxx')
-rw-r--r--sd/source/ui/inc/docprev.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/inc/docprev.hxx b/sd/source/ui/inc/docprev.hxx
index 4a8efe32ac47..3155bd992aca 100644
--- a/sd/source/ui/inc/docprev.hxx
+++ b/sd/source/ui/inc/docprev.hxx
@@ -23,6 +23,7 @@
#include <com/sun/star/presentation/FadeEffect.hpp>
#include <vcl/window.hxx>
#include <tools/gen.hxx>
+#include <tools/wintypes.hxx>
#include <rtl/ref.hxx>
@@ -49,6 +50,7 @@ protected:
rtl::Reference< sd::SlideShow > mxSlideShow;
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
+ virtual Size GetOptimalSize() const SAL_OVERRIDE;
static void CalcSizeAndPos( GDIMetaFile* pFile, Size& rSize, Point& rPoint );
void ImpPaint( GDIMetaFile* pFile, OutputDevice* pVDev );
@@ -61,7 +63,7 @@ protected:
void updateViewSettings();
public:
- SdDocPreviewWin( Window* pParent, const ResId& rResId );
+ SdDocPreviewWin( Window* pParent, const WinBits nStyle );
virtual ~SdDocPreviewWin();
void SetObjectShell( SfxObjectShell* pObj, sal_uInt16 nShowPage = 0 );
virtual void Resize() SAL_OVERRIDE;