r22714 by jghali - make PageItem isInChain() const

scribus-commit scribus-commit at lists.scribus.net
Sun Sep 30 21:40:24 UTC 2018


Author: jghali
Date: Sun Sep 30 21:40:24 2018
New Revision: 22714

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22714
Log:
make PageItem isInChain() const

Modified:
    trunk/Scribus/scribus/pageitem.h

Modified: trunk/Scribus/scribus/pageitem.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22714&path=/trunk/Scribus/scribus/pageitem.h
==============================================================================
--- trunk/Scribus/scribus/pageitem.h	(original)
+++ trunk/Scribus/scribus/pageitem.h	Sun Sep 30 21:40:24 2018
@@ -459,7 +459,7 @@
 	PageItem* nextInChain() { return NextBox; }
 	const PageItem* prevInChain() const { return BackBox; }
 	const PageItem* nextInChain() const { return NextBox; }
-	bool isInChain() { return ((BackBox != nullptr) || (NextBox != nullptr)); }
+	bool isInChain() const { return ((BackBox != nullptr) || (NextBox != nullptr)); }
 
 	bool canBeLinkedTo(const PageItem* nextFrame) const;
 	void unlink(bool createUndo = true);




More information about the scribus-commit mailing list