From 27ae0020d7609973eaeb2d95ab1e2897c40685a8 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Mon, 30 May 2016 14:22:15 +0900 Subject: Prefix SmDocShell's members as well as remaning aInterpreter to maParser. Change-Id: I5f86737ffe05be981477e9dc65d433de0e1d5378 Reviewed-on: https://gerrit.libreoffice.org/25650 Tested-by: Jenkins Reviewed-by: Takeshi Abe --- starmath/source/cursor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'starmath/source/cursor.cxx') diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx index 36bc43d62497..de4439c1e84d 100644 --- a/starmath/source/cursor.cxx +++ b/starmath/source/cursor.cxx @@ -1413,7 +1413,7 @@ void SmCursor::EndEdit(){ mpDocShell->SetModified(true); //I think SmDocShell uses this value when it sends an update graphics event //Anyway comments elsewhere suggests it need to be updated... - mpDocShell->nModifyCount++; + mpDocShell->mnModifyCount++; //TODO: Consider copying the update accessibility code from SmDocShell::SetText in here... //This somehow updates the size of SmGraphicView if it is running in embedded mode @@ -1427,7 +1427,7 @@ void SmCursor::EndEdit(){ OUString formula; SmNodeToTextVisitor(mpTree, formula); //mpTree->CreateTextFromNode(formula); - mpDocShell->aText = formula; + mpDocShell->maText = formula; mpDocShell->GetEditEngine().QuickInsertText( formula, ESelection( 0, 0, EE_PARA_ALL, EE_TEXTPOS_ALL ) ); mpDocShell->GetEditEngine().QuickFormatDoc(); } -- cgit