summaryrefslogtreecommitdiff
path: root/include/vcl/combobox.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-27 15:20:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-27 17:12:08 +0100
commitcd962f121586e84eb7d020643dcf134e7e50a1c8 (patch)
tree7f6ecbd07cac9fd2c3eb2703935a114ce43ef658 /include/vcl/combobox.hxx
parent653a4a659624d52945b9bd40647002cf31085fe0 (diff)
manually setting drop down size is unnecessary
and can end up with a font size entry in the toolbar of a different height to the other elements, because the other ones only call it on DataChange, while font size calls it all the time. Change-Id: I495e28dd0d33a093869fd731538e43513a7b8b85
Diffstat (limited to 'include/vcl/combobox.hxx')
-rw-r--r--include/vcl/combobox.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index 34e6702a09bc..95ec9bc9e215 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -114,8 +114,6 @@ public:
virtual void setPosSizePixel( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags = WINDOW_POSSIZE_ALL ) SAL_OVERRIDE;
void SetPosSizePixel( const Point& rNewPos, const Size& rNewSize ) SAL_OVERRIDE
{ Edit::SetPosSizePixel( rNewPos, rNewSize ); }
- void SetDropDownSizePixel( const Size& rNewSize )
- { if( IsDropDownBox() ) setPosSizePixel( 0, 0, rNewSize.Width(), rNewSize.Height(), WINDOW_POSSIZE_SIZE | WINDOW_POSSIZE_DROPDOWN ); }
Rectangle GetDropDownPosSizePixel() const;