diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-04-28 12:53:27 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-04-29 09:24:20 +0900 |
commit | 9905a8b953953b9ec5e123a17997d5931978acfe (patch) | |
tree | 8f31ba1b0e1aa6a024a02e580d0a350cb363c986 /desktop/source/splash | |
parent | f50fd9692ed7b9632c0f8dad9508f5a207679be4 (diff) |
replace Paint calls to Invalidate + fix compilation
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
Diffstat (limited to 'desktop/source/splash')
-rw-r--r-- | desktop/source/splash/splash.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx index 66fec0ad4ec0..c56ea26a0ac0 100644 --- a/desktop/source/splash/splash.cxx +++ b/desktop/source/splash/splash.cxx @@ -194,7 +194,7 @@ void SAL_CALL SplashScreen::start(const OUString&, sal_Int32 nRange) if ( _eBitmapMode == BM_FULLSCREEN ) pWindow->ShowFullScreenMode( true ); pWindow->Show(); - pWindow->Paint(Rectangle()); + pWindow->Invalidate(); pWindow->Flush(); } } @@ -352,7 +352,7 @@ void SplashScreen::updateStatus() return; if (!_bPaintProgress) _bPaintProgress = true; - pWindow->Paint(Rectangle()); + pWindow->Invalidate(); pWindow->Flush(); } @@ -364,7 +364,7 @@ IMPL_LINK( SplashScreen, AppEventListenerHdl, VclWindowEvent *, inEvent ) switch ( inEvent->GetId() ) { case VCLEVENT_WINDOW_SHOW: - pWindow->Paint( Rectangle() ); + pWindow->Invalidate(); break; default: break; |