r13817 by jghali - make Color::document() const
scribus-commit
scribus-commit at lists.scribus.net
Fri Aug 7 19:50:36 CEST 2009
Revision: 13817
Author: jghali
Date: 2009-08-07T17:47:39.187932Z
Commit message: make Color::document() const
Changeset:
M /branches/Version135/Scribus/scribus/sccolor.h
M /branches/Version135/Scribus/scribus/sccolor.cpp
Diffs:
Index: scribus/sccolor.h
===================================================================
--- scribus/sccolor.h (revision 13816)
+++ scribus/sccolor.h (revision 13817)
@@ -153,7 +153,7 @@
ColorList& operator= (const ColorList& list);
/** \brief Get the document the list is related , return in cpp due to scribusdoc class delcaration */
- ScribusDoc* document(void);
+ ScribusDoc* document(void) const;
/** \brief Assign the doc to which the list belong to.*/
void setDocument(ScribusDoc* doc);
Index: scribus/sccolor.cpp
===================================================================
--- scribus/sccolor.cpp (revision 13816)
+++ scribus/sccolor.cpp (revision 13817)
@@ -331,7 +331,7 @@
addColors(colorList, overwrite);
}
-ScribusDoc* ColorList::document(void)
+ScribusDoc* ColorList::document(void) const
{
return m_doc;
}
More information about the scribus-commit
mailing list