[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Kontour SVG filter compile problem
From: Brad Hards <bhards () bigpond ! net ! au>
Date: 2004-01-02 2:48:00
Message-ID: 200401021348.00893.bhards () bigpond ! net ! au
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I also couldn't compile Kontour's SVG filter. The following changes made it
compile, but at least the first change is dubious.
Nicolas: I think this is yours. Can you take another look please?
Brad
Index: svgimport.cc
===================================================================
RCS file: /home/kde/koffice/filters/karbon/svg/svgimport.cc,v
retrieving revision 1.119
diff -u -4 -p -r1.119 svgimport.cc
- --- svgimport.cc 1 Jan 2004 13:21:11 -0000 1.119
+++ svgimport.cc 2 Jan 2004 02:46:41 -0000
@@ -500,9 +500,9 @@ SvgImport::parsePA( VObject *obj, SvgGra
}
else if( command == "font-family" )
{
QString family = params;
- - family.replace( '\'' ) , QChar( ' ' ) );
+ family.replace( QChar('\'') , QChar( ' ' ) );
gc->font.setFamily( family );
}
else if( command == "font-size" )
gc->font.setPointSize( parseUnit( params ) );
@@ -673,11 +673,11 @@ SvgImport::parseGroup( VGroup *grp, cons
VPath *path = new VPath( &m_document );
bool bFirst = true;
QString points = b.attribute( "points" ).simplifyWhiteSpace();
- - points.replace( ',' ), ' ' );
+ points.replace( ',' , ' ' );
points.remove( '\r' );
- - points.removr( '\n' );
+ points.remove( '\n' );
QStringList pointList = QStringList::split( ' ', points );
for( QStringList::Iterator it = pointList.begin(); it != pointList.end(); it++ )
{
if( bFirst )
- --
http://linux.conf.au - I'm registered. Are you?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/9NvgGwwszQ/PZzgRAvvkAJ4i4R8Nx2pVdNPD3atN5nTpHFtvYwCdH61X
wxKAmV8hcwEqw/XZzmujyis=
=/mYC
-----END PGP SIGNATURE-----
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic