diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-22 15:16:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-24 16:49:32 +0100 |
commit | 9afa992b34fbe9285398c6ec88e94d961da4094e (patch) | |
tree | 561cda8edb9ed7f1f340f1711000efc56126f1b2 /starmath/source/node.cxx | |
parent | 51e6a95757906dff8b2819a4141bf3dc7938e95f (diff) |
remove unused FontChangeMask::HorAlign
Change-Id: I9e38cf1d749aa78e5b3c32575b76a372ca25c7c8
Reviewed-on: https://gerrit.libreoffice.org/63933
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r-- | starmath/source/node.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 2eba1f5c58f1..9e1ef9279997 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -204,8 +204,7 @@ void SmNode::SetSize(const Fraction &rSize) void SmNode::SetRectHorAlign(RectHorAlign eHorAlign, bool bApplyToSubTree ) { - if (!(Flags() & FontChangeMask::HorAlign)) - meRectHorAlign = eHorAlign; + meRectHorAlign = eHorAlign; if (bApplyToSubTree) ForEachNonNull(this, [eHorAlign](SmNode *pNode){pNode->SetRectHorAlign(eHorAlign);}); |