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

List:       kde-commits
Subject:    koffice/kword/part
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2010-08-31 19:41:18
Message-ID: 20100831194118.B8671AC857 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1170397 by rempt:

Replace unused parameters with explicit warnings

 M  +5 -1      KWDocument.cpp  
 M  +6 -0      frames/KWCopyShape.cpp  


--- trunk/koffice/kword/part/KWDocument.cpp #1170396:1170397
@@ -222,7 +222,11 @@
 
 void KWDocument::paintContent(QPainter&, const QRect &rect)
 {
-    // TODO
+    Q_UNUSED(rect);
+#ifdef __GNUC__
+    #warning TODO: implement KWDocument::paintContent
+#endif
+
 }
 
 KoView *KWDocument::createViewInstance(QWidget *parent)
--- trunk/koffice/kword/part/frames/KWCopyShape.cpp #1170396:1170397
@@ -120,5 +120,11 @@
 
 bool KWCopyShape::loadOdf(const KoXmlElement &element, KoShapeLoadingContext &context)
 {
+    Q_UNUSED(element);
+    Q_UNUSED(context);
+#ifdef __GNUC__
+    #warning TODO: implement KWCopyShape::loadOdf
+#endif
+
     return false; // TODO
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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