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

List:       kde-commits
Subject:    koffice/kword
From:       Laurent Montel <montel () kde ! org>
Date:       2006-08-07 15:34:41
Message-ID: 1154964881.312748.5146.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 570728 by mlaurent:

Q3CString--


 M  +2 -3      KWView.cpp  


--- trunk/koffice/kword/KWView.cpp #570727:570728
@@ -122,7 +122,6 @@
 #include <QApplication>
 #include <QTimer>
 #include <QBuffer>
-#include <Q3CString>
 #include <Q3ValueList>
 #include <QMap>
 
@@ -1456,8 +1455,8 @@
             VariableDef v;
             v.type = type;
             v.subtype = i;
-            Q3CString actionName;
-            actionName.sprintf( "var-action-%d-%d", type, i );
+            QByteArray actionName;
+            actionName = "var-action-" + QByteArray::number(type)+ "-" + QByteArray::number(i);
             KAction * act = new KAction( (*it), 0, this, SLOT( insertVariable() ),
                                          actionCollection(), actionName );
             // Mainly for KEditToolbar
[prev in list] [next in list] [prev in thread] [next in thread] 

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