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

List:       kde-commits
Subject:    koffice/filters/kspread/csv
From:       Stefan Nikolaus <stefan.nikolaus () kdemail ! net>
Date:       2006-05-09 16:09:51
Message-ID: 1147190991.033442.19594.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 539067 by nikolaus:

- add missing header
- deprecated--


 M  +4 -3      csvexport.cc  


--- trunk/koffice/filters/kspread/csv/csvexport.cc #539066:539067
@@ -35,6 +35,7 @@
 #include <kspread_map.h>
 #include <kspread_sheet.h>
 #include <kspread_doc.h>
+#include <kspread_value.h>
 #include <kspread_view.h>
 #include <selection.h>
 
@@ -94,7 +95,7 @@
 
   if ( !text.isEmpty() )
   {
-    if ( text.find( textQuote ) != -1 )
+    if ( text.indexOf( textQuote ) != -1 )
     {
       QString doubleTextQuote(textQuote);
       doubleTextQuote.append(textQuote);
@@ -120,7 +121,7 @@
 
   if ( !qobject_cast<const KSpread::Doc *>( document ) )
   {
-    kWarning(30501) << "document isn't a KSpread::Doc but a " << \
document->className() << endl; +    kWarning(30501) << "document isn't a KSpread::Doc \
but a " << document->metaObject()->className() << endl;  return \
KoFilter::NotImplemented;  }
   if ( ( to != "text/x-csv" && to != "text/plain" ) || from != \
"application/x-kspread" ) @@ -296,7 +297,7 @@
 	else
 	  name = "********<SHEETNAME>********";
         const QString tname( i18n("<SHEETNAME>") );
-        int pos = name.find( tname );
+        int pos = name.indexOf( tname );
         if ( pos != -1 )
         {
           name.replace( pos, tname.length(), sheet->sheetName() );


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

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