summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt/propread.hxx
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2011-03-26 08:58:51 -0430
committerKatarina Machalkova <kmachalkova@suse.cz>2011-04-28 11:05:57 +0200
commitb696a5a7fe77e4c0b1eb02f51cb7c6055fa9193f (patch)
tree28bfd8bcdf681b838e273b66a202a856ed369ed6 /sd/source/filter/ppt/propread.hxx
parent08364f64ab0df90909c2daea5b321b92c42466cc (diff)
Change Dictionary for std::map<String,sal_uInt32>
Diffstat (limited to 'sd/source/filter/ppt/propread.hxx')
-rw-r--r--sd/source/filter/ppt/propread.hxx18
1 files changed, 3 insertions, 15 deletions
diff --git a/sd/source/filter/ppt/propread.hxx b/sd/source/filter/ppt/propread.hxx
index 79b1c27dd174..b925fefe4e96 100644
--- a/sd/source/filter/ppt/propread.hxx
+++ b/sd/source/filter/ppt/propread.hxx
@@ -29,6 +29,7 @@
#ifndef _PROPREAD_HXX_
#define _PROPREAD_HXX_
+#include <map>
#include <boost/ptr_container/ptr_vector.hpp>
#include <tools/solar.h>
@@ -110,6 +111,8 @@
// ------------------------------------------------------------------------
+typedef std::map<String,sal_uInt32> Dictionary;
+
struct PropEntry
{
sal_uInt32 mnId;
@@ -141,21 +144,6 @@ class PropItem : public SvMemoryStream
// ------------------------------------------------------------------------
-class Dictionary : protected List
-{
- friend class Section;
-
- void AddProperty( sal_uInt32 nId, const String& rString );
-
- public :
- Dictionary(){};
- ~Dictionary();
- Dictionary& operator=( Dictionary& rDictionary );
- sal_uInt32 GetProperty( const String& rPropName );
-};
-
-// ------------------------------------------------------------------------
-
class Section
{
sal_uInt16 mnTextEnc;