[Libreoffice-commits] .: writerperfect/source

Fridrich Strba fridrich at kemper.freedesktop.org
Mon Apr 9 14:53:14 PDT 2012


 writerperfect/source/filter/OdgGenerator.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit c227447b9ab253a1d263b315ad0a7dbba4b08ff1
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Mon Apr 9 23:49:31 2012 +0200

    Write out the groupping

diff --git a/writerperfect/source/filter/OdgGenerator.cxx b/writerperfect/source/filter/OdgGenerator.cxx
index 897ce4e..da6d64d 100644
--- a/writerperfect/source/filter/OdgGenerator.cxx
+++ b/writerperfect/source/filter/OdgGenerator.cxx
@@ -805,10 +805,12 @@ void OdgGenerator::setStyle(const ::WPXPropertyList &propList, const ::WPXProper
 
 void OdgGenerator::startLayer(const ::WPXPropertyList & /* propList */)
 {
+    mpImpl->mBodyElements.push_back(new TagOpenElement("draw:g"));
 }
 
 void OdgGenerator::endLayer()
 {
+    mpImpl->mBodyElements.push_back(new TagCloseElement("draw:g"));
 }
 
 void OdgGenerator::drawRectangle(const ::WPXPropertyList &propList)


More information about the Libreoffice-commits mailing list