From koffice Thu Dec 19 10:26:29 2002 From: Michael Thaler Date: Thu, 19 Dec 2002 10:26:29 +0000 To: koffice Subject: Re: Compiling error X-MARC-Message: https://marc.info/?l=koffice&m=104029369130384 Hello David, thank you for your quick response. Unfortunately I do not how to apply this patch? Is it already in CVS? So can I checkout the code again? Or should I patch the contents.cc file with the dicc code you send to the list. If you are a little bit more explicit what I should do, I will happily try it (sorry for my ignorrance, but I am not a programmer). > Strange that it compiled for me indeed (gcc-3.2 is usually stricter than its older versions) > > Does this help? > Index: contents.cc > =================================================================== > RCS file: /home/kde/koffice/kword/contents.cc,v > retrieving revision 1.51 > diff -u -p -r1.51 contents.cc > - --- contents.cc 18 Dec 2002 00:04:15 -0000 1.51 > +++ contents.cc 19 Dec 2002 10:12:16 -0000 > @@ -134,7 +134,7 @@ KoTextCursor * KWInsertTOCCommand::remov > // We start from the end, to avoid the parag shifting problem > KoTextParag *p = textdoc->lastParag(); > KoTextCursor *posOfTable=0L; > - - KWTextParag *posOfToc=0L; > + KoTextParag *posOfToc=0L; > > while ( p ) > { Thank you, Michael ____________________________________ koffice mailing list koffice@mail.kde.org To unsubscribe please visit: http://mail.kde.org/mailman/listinfo/koffice