Code

share_static -> share_static_string
[inkscape.git] / src / jabber_whiteboard / deserializer.cpp
index 066557ad55b22f05fe73a95867da97650a6dfdcf..2df35e8abf2115a3eb127c9af449b445b4e9897d 100644 (file)
@@ -299,14 +299,14 @@ Deserializer::deserializeEventChgContent(Glib::ustring const& msg)
        if (MessageUtilities::findTag(buf, msg)) {
                oldval = Util::share_string(buf.data.c_str());
        } else {
-               oldval = Util::share_static("");
+               oldval = Util::share_static_string("");
        }
 
        buf.tag = MESSAGE_NEWVAL;
        if (MessageUtilities::findTag(buf, msg)) {
                newval = Util::share_string(buf.data.c_str());
        } else {
-               newval = Util::share_static("");
+               newval = Util::share_static_string("");
        }
 
        // 3.  Find the node identified by the ID.  If we cannot find it, return.
@@ -348,7 +348,7 @@ Deserializer::deserializeEventChgAttr(Glib::ustring const& msg)
        if (MessageUtilities::findTag(buf, msg)) {
                newval = Util::share_string(buf.data.c_str());
        } else {
-               newval = Util::share_static("");
+               newval = Util::share_static_string("");
        }
 
        // 3.  Extract optional attributes: old value.  If we do not find it in the message,
@@ -358,7 +358,7 @@ Deserializer::deserializeEventChgAttr(Glib::ustring const& msg)
        if (MessageUtilities::findTag(buf, msg)) {
                oldval = Util::share_string(buf.data.c_str());
        } else {
-               oldval = Util::share_static("");
+               oldval = Util::share_static_string("");
        }
 
        // 4.  Look up this node in the local node database and external tracker.