summaryrefslogtreecommitdiff
path: root/sd/source/ui/presenter/PresenterTextView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/presenter/PresenterTextView.cxx')
-rw-r--r--sd/source/ui/presenter/PresenterTextView.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/presenter/PresenterTextView.cxx b/sd/source/ui/presenter/PresenterTextView.cxx
index 46daeb6f061d..4a3301bbefc4 100644
--- a/sd/source/ui/presenter/PresenterTextView.cxx
+++ b/sd/source/ui/presenter/PresenterTextView.cxx
@@ -161,15 +161,15 @@ Any PresenterTextView::SetPropertyValue (
}
else if (rsPropertyName == gsBackgroundColorPropertyName)
{
- util::Color aColor = util::Color();
+ ::Color aColor;
if (rValue >>= aColor)
- mpImplementation->SetBackgroundColor(Color(aColor));
+ mpImplementation->SetBackgroundColor(aColor);
}
else if (rsPropertyName == gsTextColorPropertyName)
{
- util::Color aColor = util::Color();
+ ::Color aColor;
if (rValue >>= aColor)
- mpImplementation->SetTextColor(Color(aColor));
+ mpImplementation->SetTextColor(aColor);
}
else if (rsPropertyName == gsFontDescriptorPropertyName)
{