[Libreoffice-commits] libmspub.git: src/lib

Fridrich Å trba fridrich.strba at bluewin.ch
Tue Dec 3 01:55:47 PST 2013


 src/lib/MSPUBCollector.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 614a0f673bb0b74265992e53595d5b7013de49c0
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Tue Dec 3 10:55:18 2013 +0100

    Add startDocument and endDocument calls
    
    Change-Id: Iebf9a13d01f2d1e167345c6339fe3b97fc2b4381

diff --git a/src/lib/MSPUBCollector.cpp b/src/lib/MSPUBCollector.cpp
index ff16298..b961c6e 100644
--- a/src/lib/MSPUBCollector.cpp
+++ b/src/lib/MSPUBCollector.cpp
@@ -1430,6 +1430,7 @@ bool libmspub::MSPUBCollector::go()
 {
   addBlackToPaletteIfNecessary();
   assignShapesToPages();
+  m_painter->startDocument(librevenge::RVNGPropertyList());
   if (m_pageSeqNumsOrdered.empty())
   {
     for (std::map<unsigned, PageInfo>::const_iterator i = m_pagesBySeqNum.begin();
@@ -1453,6 +1454,7 @@ bool libmspub::MSPUBCollector::go()
       }
     }
   }
+  m_painter->endDocument();
   return true;
 }
 


More information about the Libreoffice-commits mailing list