summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWastack <btomi96@gmail.com>2016-03-11 00:39:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-11 08:52:13 +0000
commitb91fb8465cdaaff077b9f5c2a73cfc873350126f (patch)
tree9008e478e2cc59f874fa24f683c1720bc48e49b5
parent951917e73cc5d52453830daa47fd30b5fd834bc0 (diff)
tdf#97966: Remove 'static' keywords
Change-Id: I67e6076d65b90fb386ab439c5716820a6322af38 Reviewed-on: https://gerrit.libreoffice.org/23130 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--vcl/source/control/imgctrl.cxx4
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;