summaryrefslogtreecommitdiff
path: root/desktop/source/splash
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-13 15:24:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 07:27:38 +0100
commita9ca38bdf7ff9d15529b5903e640987fc14c0fa7 (patch)
treeb8b22298011bdfea9575dc8c761203d5cb54bdf1 /desktop/source/splash
parentc8e19544cdc506dfc91dbd8045da208ded7d7d2c (diff)
loplugin:changetoolsgen in dbaccess..desktop
Change-Id: I713a320e46f93dedd11266ac12e52110d13f451a Reviewed-on: https://gerrit.libreoffice.org/49655 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/splash')
-rw-r--r--desktop/source/splash/splash.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index 4d5f31148d71..3045415a9e42 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -594,7 +594,7 @@ void SplashScreenWindow::Paint(vcl::RenderContext& rRenderContext, const tools::
aNativeControlRegion, aNativeContentRegion))
{
long nProgressHeight = aNativeControlRegion.GetHeight();
- aDrawRect.Top() -= (nProgressHeight - pSpl->_barheight)/2;
+ aDrawRect.SetTop( aDrawRect.Top() - (nProgressHeight - pSpl->_barheight)/2 );
aDrawRect.Bottom() += (nProgressHeight - pSpl->_barheight)/2;
}