diff --git a/poincare/include/poincare/bracket_pair_layout_node.h b/poincare/include/poincare/bracket_pair_layout_node.h index 3dd4823e1..2d6b727ae 100644 --- a/poincare/include/poincare/bracket_pair_layout_node.h +++ b/poincare/include/poincare/bracket_pair_layout_node.h @@ -53,14 +53,6 @@ private: void render(KDContext * ctx, KDPoint p, KDColor expressionColor, KDColor backgroundColor) override; }; -class BracketPairLayoutRef : public LayoutReference { -public: - BracketPairLayoutRef(LayoutRef l) : LayoutReference() { - addChildAtIndex(l, 0, nullptr); - } - BracketPairLayoutRef(TreeNode * n) : LayoutReference(n) {} -}; - } #endif diff --git a/poincare/include/poincare/grid_layout_node.h b/poincare/include/poincare/grid_layout_node.h index 15900d1e6..6b2c6f18e 100644 --- a/poincare/include/poincare/grid_layout_node.h +++ b/poincare/include/poincare/grid_layout_node.h @@ -82,21 +82,6 @@ private: void render(KDContext * ctx, KDPoint p, KDColor expressionColor, KDColor backgroundColor) override {} }; -class GridLayoutRef : public LayoutReference { -public: - GridLayoutRef(LayoutRef l1, LayoutRef l2) : - LayoutReference() - { - if (!(node()->isAllocationFailure())) { - typedNode()->setNumberOfRows(2); - typedNode()->setNumberOfColumns(1); - } - addChildTreeAtIndex(l1, 0); - addChildTreeAtIndex(l2, 1); - } - GridLayoutRef(TreeNode * t) : LayoutReference(t) {} -}; - } #endif