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

List:       kde-commits
Subject:    KDE/kdegraphics/kolourpaint/tools/selection
From:       Clarence Dang <dang () kde ! org>
Date:       2006-11-21 11:55:10
Message-ID: 1164110110.946618.10220.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 606683 by dang:

style

 M  +8 -2      kptooltext.cpp  


--- trunk/KDE/kdegraphics/kolourpaint/tools/selection/kptooltext.cpp #606682:606683
@@ -124,7 +124,10 @@
 void kpToolText::addNewBackspaceCommand (kpToolTextBackspaceCommand **cmd)
 {
     if (hasBegunShape ())
-        endShape (m_currentPoint, kpBug::QRect_Normalized (QRect (m_startPoint, m_currentPoint)));
+    {
+        endShape (m_currentPoint,
+            kpBug::QRect_Normalized (QRect (m_startPoint, m_currentPoint)));
+    }
     
     *cmd = new kpToolTextBackspaceCommand (i18n ("Text: Backspace"),
                 viewManager ()->textCursorRow (), viewManager ()->textCursorCol (),
@@ -137,7 +140,10 @@
 void kpToolText::addNewDeleteCommand (kpToolTextDeleteCommand **cmd)
 {
     if (hasBegunShape ())
-        endShape (m_currentPoint, kpBug::QRect_Normalized (QRect (m_startPoint, m_currentPoint)));
+    {
+        endShape (m_currentPoint,
+            kpBug::QRect_Normalized (QRect (m_startPoint, m_currentPoint)));
+    }
 
     *cmd = new kpToolTextDeleteCommand (i18n ("Text: Delete"),
                 viewManager ()->textCursorRow (), viewManager ()->textCursorCol (),
[prev in list] [next in list] [prev in thread] [next in thread] 

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