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

List:       koffice
Subject:    Re: Compiling error
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-12-19 10:12:23
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 19 December 2002 11:04, Michael Thaler wrote:
> Hello,
> 
> I just tried to compile KOffice from CVS and encountered the following error:

> contents.cc:173: type `KWTextParag' is not a base type for type `KoTextParag'

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 )
     {


- -- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2.1 is available - http://download.kde.org/stable/koffice-1.2.1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+AZuH72KcVAmwbhARAhK+AJwNCvEz8CSEFaAMbJGYwjgkUTtOPACfbvw/
eh4bTCThE8zrf0zte7dXTl0=
=sp0g
-----END PGP SIGNATURE-----

____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

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