summaryrefslogtreecommitdiff
path: root/editeng/source/rtf/svxrtf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/rtf/svxrtf.cxx')
-rw-r--r--editeng/source/rtf/svxrtf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index 1bc5cf1c5dbb..c4a82217735f 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -420,7 +420,7 @@ void SvxRTFParser::ReadColorTable()
{
// one color is finished, fill in the table
// try to map the values to SV internal names
- ColorPtr pColor = new Color( nRed, nGreen, nBlue );
+ Color* pColor = new Color( nRed, nGreen, nBlue );
if( aColorTbl.empty() &&
sal_uInt8(-1) == nRed && sal_uInt8(-1) == nGreen && sal_uInt8(-1) == nBlue )
pColor->SetColor( COL_AUTO );