diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-11-25 19:07:28 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-11-25 20:05:20 +0100 |
commit | a08f4a983de1170d9d2cc3490a392469886980cd (patch) | |
tree | 6cca4e155f6eda23fe82df06fa553d942e28ad9b /svx | |
parent | 7bddbf6b972dff1c9caeb4d4fb485b93c4cb9353 (diff) |
Apply Style: Fix the styles preview on Windows.
Change-Id: Ic684e52df585add9ff0f068fa4871ada3916be16
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 3e0ed94b970e..88f8b1cc8818 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -571,7 +571,7 @@ void SvxStyleBox_Impl::UserDraw( const UserDrawEvent& rUDEvt ) { OutputDevice *pDevice = rUDEvt.GetDevice(); - Size aFontSize( pFontHeightItem->GetHeight(), pFontHeightItem->GetHeight() ); + Size aFontSize( 0, pFontHeightItem->GetHeight() ); Size aPixelSize( pDevice->LogicToPixel( aFontSize, pShell->GetMapUnit() ) ); // setup the font properties |