summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-document.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-10-20 22:21:45 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-10-20 22:21:45 +0000
commitf1e0309a7ffe42441f86def97f54aa57d86f1624 (patch)
tree7226490a904223b0fd208c488ae157d9a92bc819 /src/xml/simple-document.cpp
parentProgress Bar workinggit add .git add . (diff)
parentMerge branch 'smartpointer_refactor' of gitlab.com:jali/inkscape (diff)
downloadinkscape-f1e0309a7ffe42441f86def97f54aa57d86f1624.tar.gz
inkscape-f1e0309a7ffe42441f86def97f54aa57d86f1624.zip
Merge branch 'master' into SymbolsSearch
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);