summaryrefslogtreecommitdiff
path: root/svx/source/engine3d/float3d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/engine3d/float3d.cxx')
-rw-r--r--svx/source/engine3d/float3d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx
index 1fe81614807b..98f9fb485df3 100644
--- a/svx/source/engine3d/float3d.cxx
+++ b/svx/source/engine3d/float3d.cxx
@@ -1613,7 +1613,7 @@ void Svx3DWin::Update( SfxItemSet const & rAttrs )
// set FillColor hard to WHITE when it's SfxItemState::DONTCARE so that
// the default (Blue7) is not used for 3d preview
if(SfxItemState::DONTCARE == aSet.GetItemState(XATTR_FILLCOLOR, false))
- aSet.Put(XFillColorItem(OUString(), Color(COL_WHITE)));
+ aSet.Put(XFillColorItem(OUString(), COL_WHITE));
m_pCtlPreview->Set3DAttributes(aSet);
m_pCtlLightPreview->GetSvx3DLightControl().Set3DAttributes(aSet);