diff options
Diffstat (limited to 'sc/source/ui/view/gridwin4.cxx')
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index 8b25775ff793..cc3fa9c7ff0b 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -141,7 +141,7 @@ static void lcl_DrawOneFrame( vcl::RenderContext* pDev, const tools::Rectangle& ScDDComboBoxButton aComboButton(pDev); aComboButton.SetOptSizePixel(); - tools::Long nBWidth = sal_Int32(aComboButton.GetSizePixel().Width() * rZoomY); + tools::Long nBWidth = tools::Long(aComboButton.GetSizePixel().Width() * rZoomY); tools::Long nBHeight = nVer + aTextSize.Height() + 1; Size aButSize( nBWidth, nBHeight ); tools::Long nButtonPos = bLayoutRTL ? aOuter.Left() : aOuter.Right()-nBWidth+1; |