diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/dialoghelper.hxx | 2 | ||||
-rw-r--r-- | include/svx/dlgctrl.hxx | 1 | ||||
-rw-r--r-- | include/svx/fntctrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/measctrl.hxx | 1 |
4 files changed, 4 insertions, 2 deletions
diff --git a/include/sfx2/dialoghelper.hxx b/include/sfx2/dialoghelper.hxx index d31a09492ecc..5b09eb56b73c 100644 --- a/include/sfx2/dialoghelper.hxx +++ b/include/sfx2/dialoghelper.hxx @@ -34,6 +34,8 @@ Size SFX2_DLLPUBLIC getDrawPreviewOptimalSize(const Window *pReference); Size SFX2_DLLPUBLIC getDrawListBoxOptimalSize(const Window *pReference); +Size SFX2_DLLPUBLIC getPreviewStripSize(const Window *pReference); + OUString SFX2_DLLPUBLIC getWidestTime(const LocaleDataWrapper& rWrapper); OUString SFX2_DLLPUBLIC formatTime(const DateTime& rDateTime, const LocaleDataWrapper& rWrapper); 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 ); |