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

List:       kde-bugs-dist
Subject:    [Bug 127771] kword consistently crashes on http links
From:       Fredrik Edemar <f_edemar () linux ! se>
Date:       2006-07-04 0:06:31
Message-ID: 20060704000631.23281.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=127771         
f_edemar linux se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From f_edemar linux se  2006-07-04 02:06 -------
SVN commit 557787 by fedemar:

fix crash with autocorrected URLs.

BUGS: 126428, 127771


 M  +6 -1      KoTextObject.cpp  


--- branches/koffice/1.5/koffice/lib/kotext/KoTextObject.cpp #557786:557787
 @ -1613,7 +1613,12  @
         macroCmd->addCommand( removeSelCmd );
 
     // Insert replacement
-    insert( cursor, format,
+    if ( !customItemsMap.isEmpty() )
+        insert( cursor, format,
+            replacement, KoTextObject::customItemChar() /* no place holder command */,
+            selectionId, insertFlags | DoNotRemoveSelected, customItemsMap );
+    else
+        insert( cursor, format,
             replacement, QString::null /* no place holder command */,
             selectionId, insertFlags | DoNotRemoveSelected, customItemsMap );
[prev in list] [next in list] [prev in thread] [next in thread] 

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