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

List:       koffice
Subject:    Re: Another problem compiling Koffice 1.2 beta2 on Debian
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-07-04 16:49:24
[Download RAW message or body]

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

On Thursday 04 July 2002 00:38, Josep Febrer wrote:
> Thank you very much for your responses this solved the problem with kwdoc.cc. 
> :)
> 
> But also I have another problem on the same machine with Debian Sid, KDE 3.0.2 
> and GCC 2.95.4. :(
> 
> This is the error:

Same kind of fix.

- -- 
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-beta2 is out! http://dot.kde.org/1025176121/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9JHyU72KcVAmwbhARArFeAJ9LsMO7t3d24FAibc535d+URzTm5ACePF49
3WPSc5a7sWmJDPTbDKyFb0s=
=V7Ci
-----END PGP SIGNATURE-----

["amiproimport.cc.diff" (text/x-diff)]

Index: amiproimport.cc
===================================================================
RCS file: /home/kde/koffice/filters/kword/amipro/amiproimport.cc,v
retrieving revision 1.13
diff -u -p -r1.13 amiproimport.cc
--- amiproimport.cc	2002/04/03 05:35:31	1.13
+++ amiproimport.cc	2002/07/04 16:49:17
@@ -155,9 +155,9 @@ static QString AmiProLayoutAsXML( const 
             "\" after=\"" + QString::number(layout.spaceAfter) + "\"";
 
   QString linespacing;
-  linespacing = layout.linespace==AmiPro::LS_Single ? "0" :
-                layout.linespace==AmiPro::LS_OneAndHalf ? "oneandhalf" :
-                layout.linespace==AmiPro::LS_Double ? "double" :
+  linespacing = layout.linespace==AmiPro::LS_Single ? QString::fromLatin1( "0" ) :
+                layout.linespace==AmiPro::LS_OneAndHalf ? QString::fromLatin1( "oneandhalf" ) :
+                layout.linespace==AmiPro::LS_Double ? QString::fromLatin1( "double" ) :
                   QString::number( layout.linespace );
 
   result.append( "<LAYOUT>\n" );
@@ -210,9 +210,9 @@ static QString AmiProStyleAsXML( const A
           "left";
 
   QString linespacing;
-  linespacing = style.linespace==AmiPro::LS_Single ? "0" :
-                style.linespace==AmiPro::LS_OneAndHalf ? "oneandhalf" :
-                style.linespace==AmiPro::LS_Double ? "double" :
+  linespacing = style.linespace==AmiPro::LS_Single ? QString::fromLatin1( "0" ) :
+                style.linespace==AmiPro::LS_OneAndHalf ? QString::fromLatin1( "oneandhalf" ) :
+                style.linespace==AmiPro::LS_Double ? QString::fromLatin1( "double" ) :
                   QString::number( style.linespace );
 
   QString offsets;
@@ -301,6 +301,7 @@ bool AmiProConverter::doCloseDocument()
 bool AmiProConverter::doDefineStyle( const AmiProStyle& style )
 {
   styleList.append( style );
+  return true;
 }
 
 bool AmiProConverter::doParagraph( const QString& text, AmiProFormatList formatList,

____________________________________
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