diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-24 14:13:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-24 14:13:37 +0100 |
| commit | 2ae92dcc97765deb2845dd07a338858aeb375cb3 (patch) | |
| tree | 6f0f8dec0b81a0a7d56e8dbc3a87f0986dae6748 /src/text_node.cc | |
| parent | 13db82c73af330ffbc7a813cd38c5bef36d5b54c (diff) | |
No-op: whitespace.
Diffstat (limited to 'src/text_node.cc')
| -rw-r--r-- | src/text_node.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/text_node.cc b/src/text_node.cc index 6332e1f5..666e5846 100644 --- a/src/text_node.cc +++ b/src/text_node.cc @@ -52,7 +52,7 @@ TextNode::TextNode (boost::shared_ptr<const cxml::Node> node, int tcr) if (hp) { h_position = hp.get () / 100; } - + optional<string> ha = node->optional_string_attribute ("HAlign"); if (!ha) { ha = node->optional_string_attribute ("Halign"); @@ -60,7 +60,7 @@ TextNode::TextNode (boost::shared_ptr<const cxml::Node> node, int tcr) if (ha) { h_align = string_to_halign (ha.get ()); } - + optional<float> vp = node->optional_number_attribute<float> ("VPosition"); if (!vp) { vp = node->optional_number_attribute<float> ("Vposition"); @@ -68,7 +68,7 @@ TextNode::TextNode (boost::shared_ptr<const cxml::Node> node, int tcr) if (vp) { v_position = vp.get () / 100; } - + optional<string> va = node->optional_string_attribute ("VAlign"); if (!va) { va = node->optional_string_attribute ("Valign"); |
