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

List:       kde-commits
Subject:    koffice/kword/plugins/scripting
From:       Thomas Zander <zander () kde ! org>
Date:       2007-03-14 12:14:14
Message-ID: 1173874454.559976.31431.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 642435 by zander:

CID: 3146
No need to check for table being null; if only because two lines up you use it.


 M  +1 -1      TextCursor.cpp  


--- trunk/koffice/kword/plugins/scripting/TextCursor.cpp #642434:642435
@@ -157,7 +157,7 @@
     cell.firstCursorPosition().insertText(tr("aaa") /*, QTextCharFormat::charFormat*/);
     table->cellAt(0, 1).firstCursorPosition().insertText(tr("bbb"));
 
-    return table ? new TextTable(this, table) : 0;
+    return new TextTable(this, table);
 }
 
 #include "TextCursor.moc"
[prev in list] [next in list] [prev in thread] [next in thread] 

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