diff options
-rw-r--r-- | vcl/source/control/imgctrl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/imgctrl.cxx b/vcl/source/control/imgctrl.cxx index a41f3f4062c8..60d7b790cabd 100644 --- a/vcl/source/control/imgctrl.cxx +++ b/vcl/source/control/imgctrl.cxx @@ -47,7 +47,7 @@ void ImageControl::Resize() namespace { - static Size lcl_calcPaintSize( const Rectangle& _rPaintRect, const Size& _rBitmapSize ) + Size lcl_calcPaintSize( const Rectangle& _rPaintRect, const Size& _rBitmapSize ) { const Size aPaintSize = _rPaintRect.GetSize(); @@ -58,7 +58,7 @@ namespace return Size( long( _rBitmapSize.Width() * nRatioMin ), long( _rBitmapSize.Height() * nRatioMin ) ); } - static Point lcl_centerWithin( const Rectangle& _rArea, const Size& _rObjectSize ) + Point lcl_centerWithin( const Rectangle& _rArea, const Size& _rObjectSize ) { Point aPos( _rArea.TopLeft() ); aPos.X() += ( _rArea.GetWidth() - _rObjectSize.Width() ) / 2; |