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

List:       kde-commits
Subject:    koffice/filters/kpresenter/pptx
From:       Lassi Taneli Nieminen <lassniem () gmail ! com>
Date:       2010-08-17 13:30:17
Message-ID: 20100817133017.9C608AC857 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1164690 by lassin:

Fixed a pptx crash when drawing style was unitialized in slidelayout, what remains to \
be fixed is to actually use the style.


 M  +2 -0      PptxXmlSlideReader.cpp  


--- trunk/koffice/filters/kpresenter/pptx/PptxXmlSlideReader.cpp #1164689:1164690
@@ -512,6 +512,7 @@
         m_currentDrawStyle->addProperty("presentation:background-objects-visible", \
false);  }
     else if (m_context->type == SlideLayout) {
+        m_currentDrawStyle = new KoGenStyle(KoGenStyle::DrawingPageAutoStyle, \
                "drawing-page");
         m_currentPresentationPageLayoutStyle = \
KoGenStyle(KoGenStyle::PresentationPageLayoutStyle);  }
 
@@ -592,6 +593,7 @@
             << "m_context->type:" << m_context->type;
     }
     else if (m_context->type == SlideLayout) {
+        //! FIXME: Here we don't do anything for m_currentDrawStyle, what should we \
                do for it?
         m_context->slideLayoutProperties->pageLayoutStyleName = \
                mainStyles->insert(m_currentPresentationPageLayoutStyle);
         kDebug() << "slideLayoutProperties->styleName:" << \
m_context->slideLayoutProperties->pageLayoutStyleName;  }


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

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