From a08f4a983de1170d9d2cc3490a392469886980cd Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Sun, 25 Nov 2012 19:07:28 +0100 Subject: Apply Style: Fix the styles preview on Windows. Change-Id: Ic684e52df585add9ff0f068fa4871ada3916be16 --- svx/source/tbxctrls/tbcontrl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx') 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 -- cgit