diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-10-26 22:00:51 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-10-26 22:00:51 +0000 |
| commit | 73edade30f70b4c0ad94c9561b4e4ec0675465b0 (patch) | |
| tree | de55f48e427afc5faf8fb97467a8f79b86820b0f /src/sp-rect.h | |
| parent | fix crash (diff) | |
| download | inkscape-73edade30f70b4c0ad94c9561b4e4ec0675465b0.tar.gz inkscape-73edade30f70b4c0ad94c9561b4e4ec0675465b0.zip | |
Added some consts.
(bzr r12729)
Diffstat (limited to 'src/sp-rect.h')
| -rw-r--r-- | src/sp-rect.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-rect.h b/src/sp-rect.h index 3219a3ace..aa3f88e42 100644 --- a/src/sp-rect.h +++ b/src/sp-rect.h @@ -55,13 +55,13 @@ public: virtual void update(SPCtx* ctx, unsigned int flags); virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags); - virtual const char* displayName(); + virtual const char* displayName() const; virtual void set_shape(); virtual Geom::Affine set_transform(Geom::Affine const& xform); - virtual void snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs); - virtual void convert_to_guides(); + virtual void snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs) const; + virtual void convert_to_guides() const; SVGLength x; SVGLength y; |
