From 22b07e0233a29d9633ffa825a79503befaf2e16e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 5 Oct 2015 16:17:49 +0200 Subject: NOOP, remove trailing tabs/whitespace. --- libs/pbd/pbd/properties.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libs/pbd/pbd/properties.h') diff --git a/libs/pbd/pbd/properties.h b/libs/pbd/pbd/properties.h index f67fe50413..0ba42b8e55 100644 --- a/libs/pbd/pbd/properties.h +++ b/libs/pbd/pbd/properties.h @@ -99,7 +99,7 @@ public: /* MANAGEMENT OF Stateful State */ - + bool set_value (XMLNode const & node) { XMLProperty const* p = node.property (property_name()); @@ -120,9 +120,9 @@ public: node.add_property (property_name(), to_string (_current)); } - + /* MANAGEMENT OF HISTORY */ - + void clear_changes () { _have_old = false; } @@ -137,7 +137,7 @@ public: /* TRANSFERRING HISTORY TO / FROM A StatefulDiffCommand */ - + void get_changes_as_xml (XMLNode* history_node) const { XMLNode* node = history_node->add_child (property_name()); node->add_property ("from", to_string (_old)); @@ -225,7 +225,7 @@ public: Property* clone () const { return new Property (this->property_id(), this->_old, this->_current); } - + Property* clone_from_xml (const XMLNode& node) const { XMLNodeList const & children = node.children (); XMLNodeList::const_iterator i = children.begin(); @@ -238,11 +238,11 @@ public: } XMLProperty* from = (*i)->property ("from"); XMLProperty* to = (*i)->property ("to"); - + if (!from || !to) { return 0; } - + return new Property (this->property_id(), from_string (from->value()), from_string (to->value ())); } @@ -295,7 +295,7 @@ public: Property (PropertyDescriptor d, std::string const & o, std::string const & c) : PropertyTemplate (d, o, c) {} - + Property* clone () const { return new Property (this->property_id(), _old, _current); } @@ -356,12 +356,12 @@ class /*LIBPBD_API*/ SharedStatefulProperty : public PropertyBase { public: typedef boost::shared_ptr Ptr; - + SharedStatefulProperty (PropertyID d, Ptr p) : PropertyBase (d) , _current (p) { - + } SharedStatefulProperty (PropertyID d, Ptr o, Ptr c) @@ -369,7 +369,7 @@ public: , _old (o) , _current (c) { - + } bool set_value (XMLNode const & node) { -- cgit v1.2.3