diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-08 16:11:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-08 16:11:49 +0100 |
commit | 7520e8c0221ec7aa06125dcfafae48c9e37999ae (patch) | |
tree | 7f1f939e62da6b6f4176c3ee2a95c6028f5c2305 /svx | |
parent | d4936e876b1b965505ee2e82efaa35eef65d2135 (diff) |
60x86 is the logical size not pixel size
Change-Id: I84ad47f33dd142296a0f57cf8002861807c3b282
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 1c50946ebe86..6574022fe641 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -344,6 +344,7 @@ SvxStyleBox_Impl::SvxStyleBox_Impl(vcl::Window* pParent, , eStyleFamily( eFamily ) , nCurSel(0) , bRelease( true ) + , aLogicalSize(60, 86) , bVisible(false) , m_xDispatchProvider( rDispatchProvider ) , m_xFrame(_xFrame) @@ -357,7 +358,6 @@ SvxStyleBox_Impl::SvxStyleBox_Impl(vcl::Window* pParent, m_pMenu->SetSelectHdl( LINK( this, SvxStyleBox_Impl, MenuSelectHdl ) ); for(VclPtr<MenuButton> & rpButton : m_pButtons) rpButton = nullptr; - aLogicalSize = PixelToLogic(Size(60, 86), MapUnit::MapAppFont); SetOptimalSize(); EnableAutocomplete( true ); EnableUserDraw( true ); |