diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-09 11:58:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-09 11:58:54 +0100 |
commit | 7560f765b32bf9969b89b28c6733faa8098f1809 (patch) | |
tree | 36c24f5ed6c1a5446179f72d07f03edfdd642a1d /include/svx | |
parent | a8dd49b9fc59371ff8edb31082bbd4f1b6179b1c (diff) |
unify strip previews optimal size in one place
Change-Id: I6ae1073d013c9d9bbca39c505955436cd4950d1b
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/dlgctrl.hxx | 1 | ||||
-rw-r--r-- | include/svx/fntctrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/measctrl.hxx | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index c34d1543cb27..64b92ae9531a 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -397,6 +397,7 @@ public: virtual void Paint( const Rectangle& rRect ); virtual void Resize(); + virtual Size GetOptimalSize() const; }; /************************************************************************* diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx index 93edc0d04b13..f4c62621f673 100644 --- a/include/svx/fntctrl.hxx +++ b/include/svx/fntctrl.hxx @@ -45,8 +45,6 @@ private: SVX_DLLPRIVATE void SetFontSize(const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont); SVX_DLLPRIVATE void SetFontLang(const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont); - Size m_aInitialSize; - public: SvxFontPrevWindow( Window* pParent, const ResId& rId ); SvxFontPrevWindow(Window* pParent, WinBits nStyle); diff --git a/include/svx/measctrl.hxx b/include/svx/measctrl.hxx index f17190a3edc1..fde082fbb7e7 100644 --- a/include/svx/measctrl.hxx +++ b/include/svx/measctrl.hxx @@ -48,6 +48,7 @@ public: virtual void Paint(const Rectangle& rRect); virtual void Resize(); virtual void MouseButtonDown( const MouseEvent& rMEvt ); + virtual Size GetOptimalSize() const; void SetAttributes( const SfxItemSet& rInAttrs ); |