[Libreoffice-commits] core.git: filter/source include/filter
Stephan Bergmann
sbergman at redhat.com
Wed Oct 15 07:17:20 PDT 2014
filter/source/msfilter/svdfppt.cxx | 4 ++++
include/filter/msfilter/svdfppt.hxx | 5 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
New commits:
commit b1023801e4fecd532a1252a206563e6f6e71615c
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Oct 15 16:16:46 2014 +0200
Blind Win fix attempt
Change-Id: I39df464321685ebef29f44221bab9005295d0c3f
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 494949c..a8c55bf 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -198,6 +198,10 @@ SvStream& ReadPptSlidePersistAtom( SvStream& rIn, PptSlidePersistAtom& rAtom )
return rIn;
}
+PptSlidePersistList::PptSlidePersistList() {}
+
+PptSlidePersistList::~PptSlidePersistList() {}
+
sal_uInt16 PptSlidePersistList::FindPage(sal_uInt32 nId) const
{
for ( sal_uInt16 i=0; i < mvEntries.size(); i++ )
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx
index bc19a42..0626c5d 100644
--- a/include/filter/msfilter/svdfppt.hxx
+++ b/include/filter/msfilter/svdfppt.hxx
@@ -349,12 +349,15 @@ public:
#define PPTSLIDEPERSIST_ENTRY_NOTFOUND 0xFFFF
-class MSFILTER_DLLPUBLIC PptSlidePersistList
+class MSFILTER_DLLPUBLIC PptSlidePersistList: private boost::noncopyable
{
private:
boost::ptr_vector<PptSlidePersistEntry> mvEntries;
public:
+ PptSlidePersistList();
+ ~PptSlidePersistList();
+
size_t size() const { return mvEntries.size(); }
bool is_null( size_t nIdx ) const { return mvEntries.is_null( nIdx ); }
const PptSlidePersistEntry& operator[]( size_t nIdx ) const { return mvEntries[ nIdx ]; }
More information about the Libreoffice-commits
mailing list