[Uml-devel] KDE/kdesdk/umbrello/umbrello

Andi Fischer andi.fischer at hispeed.ch
Wed Jun 4 20:34:04 UTC 2008


SVN commit 816861 by fischer:

hide some unused variables and parameters.

 M  +1 -0      codegenobjectwithtextblocks.cpp  
 M  +3 -2      dialogs/codeeditor.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/codegenobjectwithtextblocks.cpp #816860:816861
@@ -321,6 +321,7 @@
 
 void CodeGenObjectWithTextBlocks::setAttributesFromObject (CodeGenObjectWithTextBlocks * obj)
 {
+    Q_UNUSED(obj);
 /*
     TextBlockList * list = obj->getTextBlockList();
     foreach (TextBlock* tb, *list) {
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/codeeditor.cpp #816860:816861
@@ -1261,11 +1261,12 @@
 // after the dialog disappears
 void CodeEditor::rebuildView( int startCursorPos )
 {
+    Q_UNUSED(startCursorPos);  //:TODO:
     loadFromDocument();
     // make a minima attempt to leave the cursor (view of the code) where
     // we started
-    int new_nrof_para = paragraphs() -1;
-//:TODO:    setCursorPosition((startCursorPos < new_nrof_para ? startCursorPos : 0), 0);  // crashes the application
+//:TODO:    int new_nrof_para = paragraphs() -1;
+//:TODO:    setCursorPosition((startCursorPos < new_nrof_para ? startCursorPos : 0), 0);  //:TODO: crashes the application
 }
 
 




More information about the umbrello-devel mailing list