Code

share_static -> share_static_string
[inkscape.git] / src / sp-object.cpp
index d8fe26b8746759c19580fac244cdbe94f38bae39..f97007b5140afeea94db994886676cdeb766777b 100644 (file)
@@ -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; }