summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxrtf.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index 42098f663220..fee26224b813 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -391,7 +391,7 @@ public:
inline const Color& SvxRTFParser::GetColor( size_t nId ) const
{
- ColorPtr pColor = (ColorPtr)pDfltColor;
+ ColorPtr pColor = pDfltColor;
if( nId < aColorTbl.size() )
pColor = aColorTbl[ nId ];
return *pColor;