From 144d82434ddbb77bb3cd722bc7b636a612bb9db7 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 20 Jul 2015 12:54:57 +0200 Subject: editeng: replace boost::ptr_map with std::map> Change-Id: Id59fb4ee59872e60094bde85746416c83f058b00 --- include/editeng/svxrtf.hxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'include/editeng/svxrtf.hxx') diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx index fe93c33ae15a..f96eea6e8d16 100644 --- a/include/editeng/svxrtf.hxx +++ b/include/editeng/svxrtf.hxx @@ -27,8 +27,10 @@ #include #include -#include #include +#include +#include +#include #include #include @@ -78,7 +80,7 @@ public: typedef std::deque< Color* > SvxRTFColorTbl; typedef boost::ptr_map SvxRTFFontTbl; -typedef boost::ptr_map SvxRTFStyleTbl; +typedef std::map> SvxRTFStyleTbl; // SvxRTFItemStack can't be "std::stack< SvxRTFItemStackType* >" type, because // the methods are using operator[] in sw/source/filter/rtf/rtftbl.cxx file @@ -177,7 +179,7 @@ class EDITENG_DLLPUBLIC SvxRTFParser : public SvRTFParser SvStream &rStrm; SvxRTFColorTbl aColorTbl; SvxRTFFontTbl aFontTbl; - SvxRTFStyleTbl aStyleTbl; + SvxRTFStyleTbl m_StyleTable; SvxRTFItemStack aAttrStack; SvxRTFItemStackList aAttrSetList; @@ -292,7 +294,7 @@ protected: // Query/Set the current insert position void SetInsPos( const SvxPosition& rNew ); - SvxRTFStyleTbl& GetStyleTbl() { return aStyleTbl; } + SvxRTFStyleTbl& GetStyleTbl() { return m_StyleTable; } public: -- cgit