summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt/propread.hxx
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2011-03-26 08:44:54 -0430
committerKatarina Machalkova <kmachalkova@suse.cz>2011-04-28 11:00:14 +0200
commit64a817a3e62ea200684a8fd60caa035b4ec7691d (patch)
tree44a50ac635b1962c68a3654fdd01b6a8767650ff /sd/source/filter/ppt/propread.hxx
parentf3570d924bcb999090ba78d47b9354cb529df55e (diff)
Remove deprecated List container from Section.
Diffstat (limited to 'sd/source/filter/ppt/propread.hxx')
-rw-r--r--sd/source/filter/ppt/propread.hxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/sd/source/filter/ppt/propread.hxx b/sd/source/filter/ppt/propread.hxx
index 9adbd89aeb3e..3385dd37e28f 100644
--- a/sd/source/filter/ppt/propread.hxx
+++ b/sd/source/filter/ppt/propread.hxx
@@ -29,6 +29,8 @@
#ifndef _PROPREAD_HXX_
#define _PROPREAD_HXX_
+#include <boost/ptr_container/ptr_vector.hpp>
+
#include <tools/solar.h>
#include <sot/storage.hxx>
#include <tools/gen.hxx>
@@ -108,6 +110,8 @@
// ------------------------------------------------------------------------
+class PropEntry;
+
class PropItem : public SvMemoryStream
{
sal_uInt16 mnTextEnc;
@@ -140,9 +144,10 @@ class Dictionary : protected List
// ------------------------------------------------------------------------
-class Section : private List
+class Section
{
sal_uInt16 mnTextEnc;
+ boost::ptr_vector<PropEntry> maEntries;
protected:
@@ -152,10 +157,9 @@ class Section : private List
public:
Section( const sal_uInt8* pFMTID );
- Section( Section& rSection );
- ~Section();
+ Section( const Section& rSection );
- Section& operator=( Section& rSection );
+ Section& operator=( const Section& rSection );
sal_Bool GetProperty( sal_uInt32 nId, PropItem& rPropItem );
sal_Bool GetDictionary( Dictionary& rDict );
const sal_uInt8* GetFMTID() const { return aFMTID; };