summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tptrans.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/tptrans.cxx')
-rw-r--r--cui/source/tabpages/tptrans.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/tptrans.cxx b/cui/source/tabpages/tptrans.cxx
index 553e94d232f3..206e46704f4c 100644
--- a/cui/source/tabpages/tptrans.cxx
+++ b/cui/source/tabpages/tptrans.cxx
@@ -374,7 +374,7 @@ bool SvxTransparenceTabPage::FillItemSet(SfxItemSet* rAttrs)
// disable unused XFillFloatTransparenceItem
if(bSwitchOffGradient && (bGradActive || bGradUsed))
{
- XGradient aGrad(COL_BLACK, Color(COL_WHITE));
+ XGradient aGrad(COL_BLACK, COL_WHITE);
aGrad.SetStartIntens(100);
aGrad.SetEndIntens(100);
XFillFloatTransparenceItem aItem(aGrad);