r21912 by jghali - fix build error caused by missing return value

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 16 09:47:58 UTC 2017


Author: jghali
Date: Sun Apr 16 09:47:58 2017
New Revision: 21912

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21912
Log:
fix build error caused by missing return value

Modified:
    trunk/Scribus/scribus/pagesize.cpp

Modified: trunk/Scribus/scribus/pagesize.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21912&path=/trunk/Scribus/scribus/pagesize.cpp
==============================================================================
--- trunk/Scribus/scribus/pagesize.cpp	(original)
+++ trunk/Scribus/scribus/pagesize.cpp	Sun Apr 16 09:47:58 2017
@@ -44,9 +44,10 @@
 	m_trPageSizeName=CommonStrings::trCustomPageSize;
 }
 
-PageSize&PageSize::operator=(const PageSize& other)
+PageSize& PageSize::operator=(const PageSize& other)
 {
 	init(other.name());
+	return *this;
 }
 
 void PageSize::init(const QString& sizeName)




More information about the scribus-commit mailing list