summaryrefslogtreecommitdiffstats
path: root/canvas/source/vcl/spritehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/spritehelper.cxx')
-rw-r--r--canvas/source/vcl/spritehelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/canvas/source/vcl/spritehelper.cxx b/canvas/source/vcl/spritehelper.cxx
index df8550c6c9f2..e52bb211020c 100644
--- a/canvas/source/vcl/spritehelper.cxx
+++ b/canvas/source/vcl/spritehelper.cxx
@@ -98,8 +98,7 @@ namespace vclcanvas
const double fAlpha( getAlpha() );
- if( !(isActive() &&
- !::basegfx::fTools::equalZero( fAlpha )) )
+ if( !isActive() || ::basegfx::fTools::equalZero( fAlpha ) )
return;
const Point aEmptyPoint;