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

List:       kde-commits
Subject:    branches/work/koffice-essen/filters/kpresenter/pptx
From:       Carlos Licea <carlos_licea () hotmail ! com>
Date:       2010-11-26 8:57:07
Message-ID: 20101126085707.0E5F1AC8A2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1200909 by clicea:

My bad, I meant 0 not 1.

 M  +2 -2      PptxXmlSlideReader.cpp  


--- branches/work/koffice-essen/filters/kpresenter/pptx/PptxXmlSlideReader.cpp #1200908:1200909
@@ -1906,7 +1906,7 @@
 
 void PptxXmlSlideReader::inheritDefaultTextStyle(KoGenStyle& targetStyle)
 {
-    if(m_currentListLevel == 1)
+    if(m_currentListLevel == 0)
         return;
 
     const int listLevel = qMax(1, m_currentListLevel);
@@ -1957,7 +1957,7 @@
 
 void PptxXmlSlideReader::inheritTextStyle(KoGenStyle& targetStyle)
 {
-    if(m_currentListLevel == 1)
+    if(m_currentListLevel == 0)
         return;
 
     const int listLevel = qMax(1, m_currentListLevel); // if m_currentListLevel==0 then use level1
[prev in list] [next in list] [prev in thread] [next in thread] 

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