summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-document.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-10-20 18:50:29 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2017-10-20 18:50:29 +0000
commit683029f31f0f1814c21ca65f7f113ac12b6242fb (patch)
tree4d4adb5dcfc962c4caaebaf6b448cc8b6477a194 /src/xml/simple-document.cpp
parentMerge branch 'cleanups' of gitlab.com:stfacc/inkscape (diff)
parentRefactor Util::ptr_shared (diff)
downloadinkscape-683029f31f0f1814c21ca65f7f113ac12b6242fb.tar.gz
inkscape-683029f31f0f1814c21ca65f7f113ac12b6242fb.zip
Merge branch 'smartpointer_refactor' of gitlab.com:jali/inkscape
Diffstat (limited to 'src/xml/simple-document.cpp')
-rw-r--r--src/xml/simple-document.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xml/simple-document.cpp b/src/xml/simple-document.cpp
index bae28e4b4..cf7851897 100644
--- a/src/xml/simple-document.cpp
+++ b/src/xml/simple-document.cpp
@@ -100,8 +100,8 @@ void SimpleDocument::notifyChildOrderChanged(Node &parent,
}
void SimpleDocument::notifyContentChanged(Node &node,
- Util::ptr_shared<char> old_content,
- Util::ptr_shared<char> new_content)
+ Util::ptr_shared old_content,
+ Util::ptr_shared new_content)
{
if (_in_transaction) {
_log_builder.setContent(node, old_content, new_content);
@@ -110,8 +110,8 @@ void SimpleDocument::notifyContentChanged(Node &node,
void SimpleDocument::notifyAttributeChanged(Node &node,
GQuark name,
- Util::ptr_shared<char> old_value,
- Util::ptr_shared<char> new_value)
+ Util::ptr_shared old_value,
+ Util::ptr_shared new_value)
{
if (_in_transaction) {
_log_builder.setAttribute(node, name, old_value, new_value);