summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--canvas/source/vcl/canvashelper.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx
index cc0640bc508d..96f5979de567 100644
--- a/canvas/source/vcl/canvashelper.cxx
+++ b/canvas/source/vcl/canvashelper.cxx
@@ -1270,21 +1270,21 @@ namespace vclcanvas
p2ndOutDev->SetClipRegion( aClipRegion );
}
- if( eColorType != IGNORE_COLOR )
- {
- Color aColor( COL_WHITE );
+ Color aColor( COL_WHITE );
- if( renderState.DeviceColor.getLength() > 2 )
- {
- aColor = ::vcl::unotools::stdColorSpaceSequenceToColor(
- renderState.DeviceColor );
- }
+ if( renderState.DeviceColor.getLength() > 2 )
+ {
+ aColor = ::vcl::unotools::stdColorSpaceSequenceToColor(
+ renderState.DeviceColor );
+ }
- // extract alpha, and make color opaque
- // afterwards. Otherwise, OutputDevice won't draw anything
- nTransparency = aColor.GetTransparency();
- aColor.SetTransparency(0);
+ // extract alpha, and make color opaque
+ // afterwards. Otherwise, OutputDevice won't draw anything
+ nTransparency = aColor.GetTransparency();
+ aColor.SetTransparency(0);
+ if( eColorType != IGNORE_COLOR )
+ {
switch( eColorType )
{
case LINE_COLOR: