summaryrefslogtreecommitdiff
path: root/include/editeng/svxrtf.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/editeng/svxrtf.hxx')
-rw-r--r--include/editeng/svxrtf.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index fee26224b813..5dcb23efda69 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -76,8 +76,7 @@ public:
};
-typedef Color* ColorPtr;
-typedef std::deque< ColorPtr > SvxRTFColorTbl;
+typedef std::deque< Color* > SvxRTFColorTbl;
typedef boost::ptr_map<short, vcl::Font> SvxRTFFontTbl;
typedef boost::ptr_map<sal_uInt16, SvxRTFStyleType> SvxRTFStyleTbl;
@@ -391,7 +390,7 @@ public:
inline const Color& SvxRTFParser::GetColor( size_t nId ) const
{
- ColorPtr pColor = pDfltColor;
+ Color* pColor = pDfltColor;
if( nId < aColorTbl.size() )
pColor = aColorTbl[ nId ];
return *pColor;