diff --git a/src/jabber_whiteboard/message-utilities.cpp b/src/jabber_whiteboard/message-utilities.cpp
index 431545ac01140570291e4cfbe9a542162676608e..2812e303b8ef9cb97510357697bf5e93ae720597 100644 (file)
#include <glibmm/i18n.h>
-#include "util/shared-c-string-ptr.h"
+#include "util/share.h"
#include "util/list.h"
#include "xml/node.h"
@@ -297,7 +297,7 @@ MessageUtilities::objectDeleteMessage(Glib::ustring* msgbuf, XMLNodeTracker* xmt
}
void
-MessageUtilities::contentChangeMessage(Glib::ustring& msgbuf, std::string const nodeid, Util::SharedCStringPtr old_value, Util::SharedCStringPtr new_value)
+MessageUtilities::contentChangeMessage(Glib::ustring& msgbuf, std::string const nodeid, Util::shared_ptr<char> old_value, Util::shared_ptr<char> new_value)
{
if (!nodeid.empty()) {
// <MESSAGE_NODECONTENT>
@@ -310,12 +310,12 @@ MessageUtilities::contentChangeMessage(Glib::ustring& msgbuf, std::string const
// <MESSAGE_OLDVAL>old_value</MESSAGE_OLDVAL>
msgbuf = msgbuf + "<" + MESSAGE_OLDVAL + ">";
- msgbuf += old_value.cString();
+ msgbuf += old_value.pointer();
msgbuf = msgbuf + "</" + MESSAGE_OLDVAL + ">";
// <MESSAGE_NEWVAL>new_value</MESSAGE_NEWVAL>
msgbuf = msgbuf + "<" + MESSAGE_NEWVAL + ">";
- msgbuf += new_value.cString();
+ msgbuf += new_value.pointer();
msgbuf = msgbuf + "</" + MESSAGE_NEWVAL + ">";
// </MESSAGE_NODECONTENT>