From 73edade30f70b4c0ad94c9561b4e4ec0675465b0 Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Sun, 27 Oct 2013 00:00:51 +0200 Subject: Added some consts. (bzr r12729) --- src/sp-tspan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp-tspan.cpp') diff --git a/src/sp-tspan.cpp b/src/sp-tspan.cpp index 20d404130..8c4105777 100644 --- a/src/sp-tspan.cpp +++ b/src/sp-tspan.cpp @@ -138,7 +138,7 @@ void SPTSpan::modified(unsigned int flags) { } } -Geom::OptRect SPTSpan::bbox(Geom::Affine const &transform, SPItem::BBoxType type) { +Geom::OptRect SPTSpan::bbox(Geom::Affine const &transform, SPItem::BBoxType type) const { Geom::OptRect bbox; // find out the ancestor text which holds our layout SPObject const *parent_text = this; @@ -216,7 +216,7 @@ Inkscape::XML::Node* SPTSpan::write(Inkscape::XML::Document *xml_doc, Inkscape:: return repr; } -const char* SPTSpan::displayName() { +const char* SPTSpan::displayName() const { return _("Text Span"); } -- cgit v1.2.3