Revert "[poincare] Rename addChildTreeAtIndex -> addChildAtIndex"

This reverts commit afd01f34e1.
This commit is contained in:
Léa Saviot
2018-08-03 16:02:56 +02:00
parent f28e029bb4
commit 7931d9ebfa
39 changed files with 106 additions and 106 deletions

View File

@@ -422,7 +422,7 @@ T IntegerNode::templatedApproximate() const {
LayoutRef IntegerNode::createLayout(Preferences::PrintFloatMode floatDisplayMode, int numberOfSignificantDigits) const {
LayoutRef naturalLayout = NaturalIntegerAbstract::createLayout();
if (m_negative) {
naturalLayout.addChildAtIndex(CharLayoutRef('-'), 0, naturalLayout.numberOfChildren(), nullptr);
naturalLayout.addChildTreeAtIndex(CharLayoutRef('-'), 0, naturalLayout.numberOfChildren(), nullptr);
}
return naturalLayout;
}