diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index d8fe26b8746759c19580fac244cdbe94f38bae39..f97007b5140afeea94db994886676cdeb766777b 100644 (file)
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
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; }