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

List:       kde-commits
Subject:    koffice/filters/kword/rtf/export
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2003-03-02 17:07:15
[Download RAW message or body]

CVS commit by goutte: 

Add the filter revision in the RTF file (as \comment)


  M +8 -1      ExportFilter.cc   2.53


--- koffice/filters/kword/rtf/export/ExportFilter.cc  #2.52:2.53
@@ -737,4 +737,11 @@ bool RTFWorker::doFullDocumentInfo(const
     }
 
+    // Now add who we are in a \comment
+    QString revision("$Revision$");
+    m_textDocInfo += "{\\comment ";
+    m_textDocInfo += "Generated by KWord's RTF Export Filter";
+    m_textDocInfo += revision.mid(10).replace('$',""); // has a leading and a trailing space.
+    m_textDocInfo += "}";
+
     m_textDocInfo += "}";
 


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

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