summaryrefslogtreecommitdiffstats
path: root/src/xml/event.h
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-11-03 00:10:02 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-11-03 00:10:02 +0000
commitd2df0412f728dd5bb54537dfdfe7c35b34d40e0e (patch)
treee2703384779e83312c456399999997fcc289c5cf /src/xml/event.h
parentMerge branch 'master' into powerpencil (diff)
parentchange assignment to equality (diff)
downloadinkscape-d2df0412f728dd5bb54537dfdfe7c35b34d40e0e.tar.gz
inkscape-d2df0412f728dd5bb54537dfdfe7c35b34d40e0e.zip
Merge branch 'master' into powerpencil
Diffstat (limited to 'src/xml/event.h')
-rw-r--r--src/xml/event.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xml/event.h b/src/xml/event.h
index f6b734c29..ca79983ba 100644
--- a/src/xml/event.h
+++ b/src/xml/event.h
@@ -167,8 +167,8 @@ private:
class EventChgAttr : public Event {
public:
EventChgAttr(Node *repr, GQuark k,
- Inkscape::Util::ptr_shared<char> ov,
- Inkscape::Util::ptr_shared<char> nv,
+ Inkscape::Util::ptr_shared ov,
+ Inkscape::Util::ptr_shared nv,
Event *next)
: Event(repr, next), key(k),
oldval(ov), newval(nv) {}
@@ -176,9 +176,9 @@ public:
/// GQuark corresponding to the changed attribute's name
GQuark key;
/// Value of the attribute before the change
- Inkscape::Util::ptr_shared<char> oldval;
+ Inkscape::Util::ptr_shared oldval;
/// Value of the attribute after the change
- Inkscape::Util::ptr_shared<char> newval;
+ Inkscape::Util::ptr_shared newval;
private:
Event *_optimizeOne();
@@ -192,15 +192,15 @@ private:
class EventChgContent : public Event {
public:
EventChgContent(Node *repr,
- Inkscape::Util::ptr_shared<char> ov,
- Inkscape::Util::ptr_shared<char> nv,
+ Inkscape::Util::ptr_shared ov,
+ Inkscape::Util::ptr_shared nv,
Event *next)
: Event(repr, next), oldval(ov), newval(nv) {}
/// Content of the node before the change
- Inkscape::Util::ptr_shared<char> oldval;
+ Inkscape::Util::ptr_shared oldval;
/// Content of the node after the change
- Inkscape::Util::ptr_shared<char> newval;
+ Inkscape::Util::ptr_shared newval;
private:
Event *_optimizeOne();