From 9905a8b953953b9ec5e123a17997d5931978acfe Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Tue, 28 Apr 2015 12:53:27 +0900 Subject: replace Paint calls to Invalidate + fix compilation Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674 --- desktop/source/splash/splash.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop') 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; -- cgit