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

List:       kde-commits
Subject:    koffice/filters/kword/palmdoc
From:       Laurent Montel <montel () kde ! org>
Date:       2005-08-31 16:17:46
Message-ID: 1125505066.486736.7682.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 455468 by mlaurent:

Warning--
Add const


 M  +2 -2      palmdocimport.cc  
 M  +1 -1      palmdocimport.h  


--- trunk/koffice/filters/kword/palmdoc/palmdocimport.cc #455467:455468
@@ -157,7 +157,7 @@
   QStringList paragraphs;
 
   paragraphs = QStringList::split( "\n\n", plaindoc, TRUE );
-  for( int i = 0; i < paragraphs.count(); i++ )
+  for( unsigned int i = 0; i < paragraphs.count(); i++ )
   {
       QString text = paragraphs[i];
       text.replace( '\n', ' ' );
@@ -184,7 +184,7 @@
   return prolog + content + epilog;
 }
 
-QString PalmDocImport::processDocumentInfo( QString title )
+QString PalmDocImport::processDocumentInfo( const QString &title )
 {
   QString documentInfo;
 
--- trunk/koffice/filters/kword/palmdoc/palmdocimport.h #455467:455468
@@ -42,7 +42,7 @@
     
     QString processPlainParagraph( QString text );
     QString processPlainDocument( QString plaindoc );
-    QString processDocumentInfo( QString title );
+    QString processDocumentInfo( const QString &title );
 };
 
 #endif // __PALMDOCIMPORT_H
[prev in list] [next in list] [prev in thread] [next in thread] 

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