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

List:       kde-commits
Subject:    =?utf-8?q?=5Bcalligra=5D_tables=3A_Make_the_embedded_document_sa?=
From:       Inge Wallin <inge () lysator ! liu ! se>
Date:       2011-02-28 22:12:19
Message-ID: 20110228221219.E7B36A60CE () git ! kde ! org
[Download RAW message or body]

Git commit f1802b6caeb7eb7d8c2ec34f554283bcc64411fd by Inge Wallin.
Committed on 28/02/2011 at 22:39.
Pushed by ingwa into branch 'master'.

Make the embedded document saver have the same name as in all other apps.

M  +2    -2    tables/Cell.cpp     

http://commits.kde.org/calligra/f1802b6caeb7eb7d8c2ec34f554283bcc64411fd

diff --git a/tables/Cell.cpp b/tables/Cell.cpp
index 7aa8306..9ac4bcb 100644
--- a/tables/Cell.cpp
+++ b/tables/Cell.cpp
@@ -1216,8 +1216,8 @@ bool Cell::saveOdf(KoXmlWriter& xmlwriter, KoGenStyles \
&mainStyles,  QTextCharFormat format = style().asCharFormat();
             sheet()->map()->textStyleManager()->defaultParagraphStyle()->characterStyle()->copyProperties(format);
  
-            KoEmbeddedDocumentSaver saver;
-            KoShapeSavingContext shapeContext(xmlwriter, mainStyles, saver);
+            KoEmbeddedDocumentSaver embeddedSaver;
+            KoShapeSavingContext shapeContext(xmlwriter, mainStyles, embeddedSaver);
             KoTextWriter writer(shapeContext);
 
             writer.write(doc.data(), 0);


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

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