[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-09-17 16:09:12
[Download RAW message or body]

CVS commit by goutte: 

Export explicit date formats


  M +3 -5      ExportFilter.cc   2.82


--- koffice/filters/kword/rtf/export/ExportFilter.cc  #2.81:2.82
@@ -433,5 +433,5 @@ QString RTFWorker::ProcessParagraphData 
                     // ### TODO: fixed/variable date, exact custom formats
                     QString key((*paraFormatDataIt).variable.m_key.mid(4));
-                    if (key == "locale")
+                    if (key.startsWith("locale"))
                         key = QString::null; // ###TODO
                     str += "{\\field{\\*\\fldinst DATE ";
@@ -439,9 +439,7 @@ QString RTFWorker::ProcessParagraphData 
                     {
                         kdDebug(30515) << "Date format: " << key << endl;
-#if 0
                         str += "\\@ \"";
                         str += key;
                         str += "\" ";
-#endif
                     }
                     str += "\\* MERGEFORMAT }{\\fldrslt ";


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

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