summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/splash/splash.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index e268b163afbe..89ad429c6b2a 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -584,8 +584,6 @@ void SplashScreen::Paint( const Rectangle&)
if(!_bVisible) return;
//native drawing
- bool bNativeOK = false;
-
// in case of native controls we need to draw directly to the window
if( _bNativeProgress && IsNativeControlSupported( CTRL_INTROPROGRESS, PART_ENTIRE_CONTROL ) )
{
@@ -604,7 +602,7 @@ void SplashScreen::Paint( const Rectangle&)
aDrawRect.Bottom() += (nProgressHeight - _barheight)/2;
}
- if( (bNativeOK = DrawNativeControl( CTRL_INTROPROGRESS, PART_ENTIRE_CONTROL, aDrawRect,
+ if( (DrawNativeControl( CTRL_INTROPROGRESS, PART_ENTIRE_CONTROL, aDrawRect,
CTRL_STATE_ENABLED, aValue, _sProgressText )) )
{
return;