Code

replace Util::SharedCStringPtr with the more general Util::shared_ptr<>
[inkscape.git] / src / xml / log-builder.cpp
index b3d8db59f1b97da9c6620cc9c9da594889c23e99..97451075ae00f91d92e7a7bf48813ed8048ddfa6 100644 (file)
@@ -48,16 +48,16 @@ void LogBuilder::setChildOrder(Node &node, Node &child,
 }
 
 void LogBuilder::setContent(Node &node,
-                            Util::SharedCStringPtr old_content,
-                            Util::SharedCStringPtr new_content)
+                            Util::shared_ptr<char> old_content,
+                            Util::shared_ptr<char> new_content)
 {
     _log = new Inkscape::XML::EventChgContent(&node, old_content, new_content, _log);
     _log = _log->optimizeOne();
 }
 
 void LogBuilder::setAttribute(Node &node, GQuark name,
-                              Util::SharedCStringPtr old_value,
-                              Util::SharedCStringPtr new_value)
+                              Util::shared_ptr<char> old_value,
+                              Util::shared_ptr<char> new_value)
 {
     _log = new Inkscape::XML::EventChgAttr(&node, name, old_value, new_value, _log);
     _log = _log->optimizeOne();