summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-13 08:18:58 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-13 10:10:53 +0200
commit0bb694f780a45de97f179a09ef52866164c389df (patch)
treeedaad57e3a7d7664e707046d386d659985de6873 /desktop
parente6ea7d9329f29fb864fbd0a5d4a62bd2b9d6f544 (diff)
warning C4706: assignment within conditional expression
Change-Id: I888a06feebc55a0caee8d3333fe26c22b22ce620
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;