r22141 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Aug 21 18:41:24 UTC 2017


Author: jghali
Date: Mon Aug 21 18:41:24 2017
New Revision: 22141

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22141
Log:
quick attempt to fix gcc compiler error

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp
    trunk/Scribus/scribus/scribusdoc.h

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22141&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Mon Aug 21 18:41:24 2017
@@ -3907,7 +3907,7 @@
 	}
 }
 
-ScPattern* ScribusDoc::checkedPattern(QString &name)
+ScPattern* ScribusDoc::checkedPattern(const QString &name)
 {
 	if (name.isEmpty() || !docPatterns.contains(name))
 		return 0;

Modified: trunk/Scribus/scribus/scribusdoc.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22141&path=/trunk/Scribus/scribus/scribusdoc.h
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.h	(original)
+++ trunk/Scribus/scribus/scribusdoc.h	Mon Aug 21 18:41:24 2017
@@ -698,7 +698,7 @@
 	/*!
 	* @brief Check pattern with specified name and return it if valid
 	*/
-	ScPattern* checkedPattern(QString &name);
+	ScPattern* checkedPattern(const QString &name);
 	/*!
 	* @brief Builds a QStringList of the patterns used within the document
 	*/




More information about the scribus-commit mailing list