diff --git a/src/2geom/rect.h b/src/2geom/rect.h
index fb42ff92d1d39ee9593abfede5866f05105a1f0a..cce1d64f0239cef8f36e522cced7c5d48479a3d2 100644 (file)
--- a/src/2geom/rect.h
+++ b/src/2geom/rect.h
/**
* Check whether this OptRect is empty or not.
*/
- inline bool isEmpty() { return (*this == false); };
+ inline bool isEmpty() const { return (*this == false); };
/**
* If \c this is empty, copy argument \c b. Otherwise, union with it (and do nothing when \c b is empty)
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :