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

List:       koffice-devel
Subject:    koffice/libs/kopageapp
From:       Thorsten Zachmann <t.zachmann () zagge ! de>
Date:       2010-04-29 19:45:04
Message-ID: 20100429194504.09205AC8AA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1120716 by zachmann:

o fix saving of page style as auto sytle and not a document style. That
  got broken on the big KoGenStyle rework.

  This fixes saving of page styles.

Ok to backport to koffice 2.2

CCMAIL: koffice-devel@kde.org



 M  +1 -1      KoPAPageBase.cpp  


--- trunk/koffice/libs/kopageapp/KoPAPageBase.cpp #1120715:1120716
@@ -117,7 +117,7 @@
 
 QString KoPAPageBase::saveOdfPageStyle( KoPASavingContext &paContext ) const
 {
-    KoGenStyle style( KoGenStyle::DrawingPageStyle, "drawing-page" );
+    KoGenStyle style( KoGenStyle::DrawingPageAutoStyle, "drawing-page" );
 
     if ( paContext.isSet( KoShapeSavingContext::AutoStyleInStyleXml ) ) {
         style.setAutoStyleInStylesDotXml( true );
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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