summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-09-01 18:26:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-02 19:08:49 +0200
commitc1c679deca078209bc3008ccd9ccc0a8715929a1 (patch)
tree6f5a1a1207636b4b7f1b0575f36cbf579f7c85af /chart2
parent58da51715425d781b5b8b9b9e412c98daf80b601 (diff)
rename UpdateMode -> UpdateLayout in editeng class
... because "update" is such a generic term I keep forgetting what we are turning on and off Also return the previous value from SetUpdateLayout to make the save/restore code more compact. Change-Id: Iae1764c837a92e58c9b17521f130e8fc80311d22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121479 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartController_TextEdit.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartController_TextEdit.cxx b/chart2/source/controller/main/ChartController_TextEdit.cxx
index 217accdde083..23b590907f67 100644
--- a/chart2/source/controller/main/ChartController_TextEdit.cxx
+++ b/chart2/source/controller/main/ChartController_TextEdit.cxx
@@ -193,7 +193,7 @@ void ChartController::executeDispatch_InsertSpecialCharacter()
// prevent flicker
pOutlinerView->HideCursor();
- pOutliner->SetUpdateMode(false);
+ pOutliner->SetUpdateLayout(false);
// delete current selection by inserting empty String, so current
// attributes become unique (sel. has to be erased anyway)
@@ -207,7 +207,7 @@ void ChartController::executeDispatch_InsertSpecialCharacter()
pOutlinerView->SetSelection(aSel);
// show changes
- pOutliner->SetUpdateMode(true);
+ pOutliner->SetUpdateLayout(true);
pOutlinerView->ShowCursor();
}