From 830f44b1ca0e121d3e27a031054313e3f194ab1d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 14 Jan 2013 10:40:11 +0000 Subject: we only ever want the preferred window size from GetOptimalSize so remove the MAX and MIN options and simplify the whole lot Change-Id: Iaaf350c37e01f7fce434af760bcddb9b7d7135ea --- svtools/inc/svtools/toolpanel/paneltabbar.hxx | 2 +- svtools/inc/svtools/treelistbox.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools/inc') diff --git a/svtools/inc/svtools/toolpanel/paneltabbar.hxx b/svtools/inc/svtools/toolpanel/paneltabbar.hxx index 278ef349155c..0b534f88ed9b 100644 --- a/svtools/inc/svtools/toolpanel/paneltabbar.hxx +++ b/svtools/inc/svtools/toolpanel/paneltabbar.hxx @@ -65,7 +65,7 @@ namespace svt PushButton& GetScrollButton( const bool i_bForward ); // Window overridables - virtual Size GetOptimalSize( WindowSizeType i_eType ) const; + virtual Size GetOptimalSize() const; protected: // Window overridables diff --git a/svtools/inc/svtools/treelistbox.hxx b/svtools/inc/svtools/treelistbox.hxx index ba678aeb9186..c448c78e3463 100644 --- a/svtools/inc/svtools/treelistbox.hxx +++ b/svtools/inc/svtools/treelistbox.hxx @@ -762,7 +762,7 @@ public: long getPreferredDimensions(std::vector &rWidths) const; - virtual Size GetOptimalSize(WindowSizeType i_eType) const; + virtual Size GetOptimalSize() const; }; #define SV_LBOX_DD_FORMAT "SV_LBOX_DD_FORMAT" -- cgit