[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/filters/libmsooxml
From:       Lassi Taneli Nieminen <lassniem () gmail ! com>
Date:       2010-11-25 15:17:14
Message-ID: 20101125151714.7A685AC8A3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1200723 by lassin:

Removed previous patch + unneeded code as it caused regression elsewhere.


 M  +0 -15     MsooXmlCommonReaderDrawingMLImpl.h  


--- trunk/koffice/filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h #1200722:1200723
@@ -5079,9 +5079,6 @@
     m_currentListLevel = 0;
     m_pPr_lvl = 0;
 
-    MSOOXML::Utils::XmlWriteBuffer listBuf;
-    body = listBuf.setWriter(body);
-
     while (!atEnd()) {
         readNext();
         kDebug() << *this;
@@ -5095,7 +5092,6 @@
 //! @todo add ELSE_WRONG_FORMAT
         }
     }
-
     if (m_prevListLevel > 0) {
         // Ending our current level
         body->endElement(); // text:list
@@ -5107,17 +5103,6 @@
         m_prevListLevel = 0;
     }
 
-    body = listBuf.originalWriter();
-    if (m_contentType != "line") {
-        body->startElement("draw:text-box"); // CASE #P436
-    }
-
-    body = listBuf.releaseWriter();
-
-    if (m_contentType != "line") {
-        body->endElement(); // draw:text-box
-    }
-
     READ_EPILOGUE
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic