Bug 57640 - Kword crashes when inserting bullets or enumertaions
Summary: Kword crashes when inserting bullets or enumertaions
Status: RESOLVED FIXED
Alias: None
Product: kword
Classification: Miscellaneous
Component: general (show other bugs)
Version: 1.5 or before
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-24 12:45 UTC by Jorge Adriano
Modified: 2003-04-25 11:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Backtrace from the crash (4.98 KB, text/plain)
2003-04-24 13:59 UTC, Jorge Adriano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Adriano 2003-04-24 12:45:39 UTC
Version:           1.2.90 (using KDE 3.1.1)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.16-4GB

Whenever I try to insert bullets or enumerations, kword crashes :-/
Comment 1 David Faure 2003-04-24 13:08:03 UTC
Subject: Re:  New: Kword crashes when inserting bullets or enumertaions

On Thursday 24 April 2003 12:45, you wrote:
> Whenever I try to insert bullets or enumerations, kword crashes :-/

Huh - any backtrace?

Comment 2 Jorge Adriano 2003-04-24 13:59:00 UTC
Created attachment 1425 [details]
Backtrace from the crash
Comment 3 Jorge Adriano 2003-04-24 13:59:46 UTC
Opsss sorry. Saved it but forgot to attach it. 
Done! 
Comment 4 David Faure 2003-04-25 00:33:36 UTC
Subject: koffice/lib/kotext

CVS commit by faure: 

[jowenn] that works
Fixed crash in counterFormat() due to the style having no parent (strange, though).
CCMAIL: 57640-done@bugs.kde.org
I withdraw everything I said about kword-3.1-beta1 being stable :}


  M +1 -1      koparagcounter.cc   1.31


--- koffice/lib/kotext/koparagcounter.cc  #1.30:1.31
@@ -600,5 +600,5 @@ KoTextFormat* KoParagCounter::counterFor
     KoTextFormat format( *refFormat );
     format.setVAlign( KoTextFormat::AlignNormal );
-    return refFormat->parent()->format( &format );
+    return paragraph->textDocument()->formatCollection()->format( &format );
     /*paragraph->paragFormat()*/
 }


Comment 5 Jorge Adriano 2003-04-25 11:18:02 UTC
Wow, that was fast! Nice work ;)