summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt/propread.hxx
diff options
context:
space:
mode:
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; };