summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/output.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index dc054dae86c0..7dc9cd1ded95 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -1639,7 +1639,7 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext)
// for DrawPolygon, without Pen one pixel is left out
// to the right and below...
- if (rColor.GetTransparency() == 0)
+ if (!rColor.IsTransparent())
rRenderContext.SetLineColor(rColor);
else
rRenderContext.SetLineColor();
@@ -1655,7 +1655,7 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext)
// for DrawPolygon, without Pen one pixel is left out
// to the right and below...
- if (pColor->GetTransparency() == 0)
+ if (!pColor->IsTransparent())
rRenderContext.SetLineColor(*pColor);
else
rRenderContext.SetLineColor();