r22645 by jghali - Fix several build errors on Travis CI

scribus-commit scribus-commit at lists.scribus.net
Wed Aug 22 16:30:01 UTC 2018


Author: jghali
Date: Wed Aug 22 16:30:01 2018
New Revision: 22645

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22645
Log:
Fix several build errors on Travis CI

Modified:
    trunk/Scribus/scribus/plugins/import/revenge/rawpainter.h

Modified: trunk/Scribus/scribus/plugins/import/revenge/rawpainter.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22645&path=/trunk/Scribus/scribus/plugins/import/revenge/rawpainter.h
==============================================================================
--- trunk/Scribus/scribus/plugins/import/revenge/rawpainter.h	(original)
+++ trunk/Scribus/scribus/plugins/import/revenge/rawpainter.h	Wed Aug 22 16:30:01 2018
@@ -264,16 +264,16 @@
 	void startTextSpan(const ::WPXPropertyList &propList);
 	void endTextSpan();
 	void insertText(const ::WPXString &str);
-	QString constructFontName(QString fontBaseName, QString fontStyle);
+	QString constructFontName(const QString& fontBaseName, const QString& fontStyle);
 	double valueAsPoint(const WPXProperty *prop);
 	double fromPercentage(const QString &s );
 	QColor  parseColorN( const QString &rgbColor );
 	QString parseColor( const QString &s );
-	void insertImage(PageItem* ite, QString imgExt, QByteArray &imageData);
+	void insertImage(PageItem* ite, const QString& imgExt, QByteArray &imageData);
 	void applyFill(PageItem* ite);
 	void applyShadow(PageItem* ite);
 	void applyFlip(PageItem* ite);
-	void recolorItem(PageItem* ite, QString efVal);
+	void recolorItem(PageItem* ite, const QString& efVal);
 	void applyArrows(PageItem* ite);
 	void finishItem(PageItem* ite);
 




More information about the scribus-commit mailing list