summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-node.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-02-08 04:15:29 +0000
committermental <mental@users.sourceforge.net>2006-02-08 04:15:29 +0000
commitc7ffba4c8d0030bf5bf92dd4eef6fac6017c62bf (patch)
tree48842d0beebf72330fd5fd3e8b6d3edcfbedf257 /src/xml/simple-node.cpp
parentrevert to black and white cursors (diff)
downloadinkscape-c7ffba4c8d0030bf5bf92dd4eef6fac6017c62bf.tar.gz
inkscape-c7ffba4c8d0030bf5bf92dd4eef6fac6017c62bf.zip
share_static -> share_static_string
(bzr r104)
Diffstat (limited to 'src/xml/simple-node.cpp')
-rw-r--r--src/xml/simple-node.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xml/simple-node.cpp b/src/xml/simple-node.cpp
index 5e21f941e..fa626a3f2 100644
--- a/src/xml/simple-node.cpp
+++ b/src/xml/simple-node.cpp
@@ -76,7 +76,7 @@ public:
static Category category() { return XML; }
Util::shared_ptr<char> name() const {
- return Util::share_static("add-child");
+ return Util::share_static_string("add-child");
}
unsigned propertyCount() const { return 3; }
PropertyPair property(unsigned i) const {
@@ -107,7 +107,7 @@ public:
static Category category() { return XML; }
Util::shared_ptr<char> name() const {
- return Util::share_static("remove-child");
+ return Util::share_static_string("remove-child");
}
unsigned propertyCount() const { return 2; }
PropertyPair property(unsigned i) const {
@@ -141,7 +141,7 @@ public:
static Category category() { return XML; }
Util::shared_ptr<char> name() const {
- return Util::share_static("set-child-position");
+ return Util::share_static_string("set-child-position");
}
unsigned propertyCount() const { return 3; }
PropertyPair property(unsigned i) const {
@@ -173,9 +173,9 @@ public:
Util::shared_ptr<char> name() const {
if (_content) {
- return Util::share_static("set-content");
+ return Util::share_static_string("set-content");
} else {
- return Util::share_static("clear-content");
+ return Util::share_static_string("clear-content");
}
}
unsigned propertyCount() const {
@@ -213,9 +213,9 @@ public:
Util::shared_ptr<char> name() const {
if (_value) {
- return Util::share_static("set-attribute");
+ return Util::share_static_string("set-attribute");
} else {
- return Util::share_static("clear-attribute");
+ return Util::share_static_string("clear-attribute");
}
}
unsigned propertyCount() const {
@@ -247,7 +247,7 @@ private:
using Inkscape::Util::shared_ptr;
using Inkscape::Util::share_string;
using Inkscape::Util::share_unsafe;
-using Inkscape::Util::share_static;
+using Inkscape::Util::share_static_string;
using Inkscape::Util::List;
using Inkscape::Util::MutableList;
using Inkscape::Util::cons;