summaryrefslogtreecommitdiff
path: root/include/editeng/lcolitem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/editeng/lcolitem.hxx')
-rw-r--r--include/editeng/lcolitem.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/lcolitem.hxx b/include/editeng/lcolitem.hxx
index 6720424bd83f..ba4c413c991f 100644
--- a/include/editeng/lcolitem.hxx
+++ b/include/editeng/lcolitem.hxx
@@ -44,8 +44,8 @@ public:
const SAL_OVERRIDE;
inline SvxLineColorItem& operator=(const SvxLineColorItem& rColor)
- { return (SvxLineColorItem&)SvxColorItem::
- operator=((const SvxColorItem&)rColor); }
+ { return static_cast<SvxLineColorItem&>(SvxColorItem::
+ operator=(static_cast<const SvxColorItem&>(rColor))); }
};