[apps/claculation] Remove duplicate layout reference

This commit is contained in:
Léa Saviot
2018-07-05 10:59:19 +02:00
parent 9e1b7792f7
commit a0c427076f
2 changed files with 1 additions and 3 deletions

View File

@@ -13,8 +13,7 @@ namespace Calculation {
EditExpressionController::ContentView::ContentView(Responder * parentResponder, TableView * subview, TextFieldDelegate * textFieldDelegate, LayoutFieldDelegate * layoutFieldDelegate) :
View(),
m_mainView(subview),
m_layoutR(Poincare::HorizontalLayoutRef()),
m_expressionField(parentResponder, m_textBody, k_bufferLength, m_layoutR, textFieldDelegate, layoutFieldDelegate)
m_expressionField(parentResponder, m_textBody, k_bufferLength, Poincare::HorizontalLayoutRef(), textFieldDelegate, layoutFieldDelegate)
{
m_textBody[0] = 0;
}