diff options
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/menubarwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/menubarwindow.cxx b/vcl/source/window/menubarwindow.cxx index c25c29e49db0..c264e89fba0a 100644 --- a/vcl/source/window/menubarwindow.cxx +++ b/vcl/source/window/menubarwindow.cxx @@ -98,7 +98,7 @@ void DecoToolBox::SetImages( long nMaxHeight, bool bForce ) aEraseColor.SetTransparency( 255 ); aBmpExDst.Erase( aEraseColor ); - aBmpExDst.SetSizePixel( Size( lastSize, lastSize ) ); + aBmpExDst.Scale( Size( lastSize, lastSize ) ); tools::Rectangle aSrcRect( Point(0,0), maImage.GetSizePixel() ); tools::Rectangle aDestRect( Point((lastSize - maImage.GetSizePixel().Width())/2, |