summaryrefslogtreecommitdiffstats
path: root/src/sp-tspan.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-10-26 22:31:12 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-10-26 22:31:12 +0000
commitbfb70c0a66051c665b8729916eceedb3cd7f51f8 (patch)
tree3bc3e44d7b83526900175b5e86bbc1afeeab86f4 /src/sp-tspan.cpp
parentUpdate to trunk (diff)
parentAdded some consts. (diff)
downloadinkscape-bfb70c0a66051c665b8729916eceedb3cd7f51f8.tar.gz
inkscape-bfb70c0a66051c665b8729916eceedb3cd7f51f8.zip
Update to trunk
(bzr r11950.1.190)
Diffstat (limited to 'src/sp-tspan.cpp')
-rw-r--r--src/sp-tspan.cpp4
1 files changed, 2 insertions, 2 deletions
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");
}