summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-06-27 22:06:01 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-06-28 13:52:02 +0400
commitb4fae0294601ac8e72f350ab9f7061532acd4210 (patch)
tree9308cb29220d2cdb70e4eb576a64688695058dec /vcl/inc
parent044eae119281b9521e70e64aabd42f5142cb54d0 (diff)
FloatingSizeMode is always FSMODE_AUTO, remove it
Change-Id: I0468ff6deaf701ed3d155db1ff3f0f0c204e1199
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/vcl/toolbox.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/inc/vcl/toolbox.hxx b/vcl/inc/vcl/toolbox.hxx
index 22901be7aa1a..fd410d9da7a9 100644
--- a/vcl/inc/vcl/toolbox.hxx
+++ b/vcl/inc/vcl/toolbox.hxx
@@ -155,9 +155,6 @@ enum ToolBoxItemType { TOOLBOXITEM_DONTKNOW, TOOLBOXITEM_BUTTON,
// dontcare will let the toolbox decide about its size
enum ToolBoxButtonSize { TOOLBOX_BUTTONSIZE_DONTCARE, TOOLBOX_BUTTONSIZE_SMALL, TOOLBOX_BUTTONSIZE_LARGE };
-// used for internal sizing calculations
-enum FloatingSizeMode { FSMODE_AUTO, FSMODE_FAVOURWIDTH, FSMODE_FAVOURHEIGHT };
-
// TBX_LAYOUT_NORMAL - traditional layout, items are centered in the toolbar
// TBX_LAYOUT_LOCKVERT - special mode (currently used for calc input/formula
// bar) where item's vertical position is locked, e.g.
@@ -287,7 +284,7 @@ private:
SAL_DLLPRIVATE sal_Bool ImplIsFloatingMode() const;
SAL_DLLPRIVATE sal_Bool ImplIsInPopupMode() const;
SAL_DLLPRIVATE const XubString& ImplGetHelpText( sal_uInt16 nItemId ) const;
- SAL_DLLPRIVATE Size ImplGetOptimalFloatingSize( FloatingSizeMode eMode );
+ SAL_DLLPRIVATE Size ImplGetOptimalFloatingSize();
SAL_DLLPRIVATE sal_Bool ImplHasExternalMenubutton();
SAL_DLLPRIVATE void ImplDrawFloatwinBorder( ImplToolItem* pItem );