summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-object.cpp')
-rw-r--r--src/sp-object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index d8fe26b87..f97007b51 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -252,9 +252,9 @@ public:
Inkscape::Util::shared_ptr<char> name() const {
if ( _type == REF) {
- return Inkscape::Util::share_static("sp-object-ref");
+ return Inkscape::Util::share_static_string("sp-object-ref");
} else {
- return Inkscape::Util::share_static("sp-object-unref");
+ return Inkscape::Util::share_static_string("sp-object-unref");
}
}
unsigned propertyCount() const { return 2; }