From 8c8b7e0d7ae16f238089e857f2549d6de058cf2e Mon Sep 17 00:00:00 2001 From: Dennis Francis Date: Tue, 22 Aug 2017 12:42:23 +0530 Subject: tdf#97548: Do not set anchor flag on starting formula mode in a cell Change-Id: I4d9699fa3106f7a575ad1afa3a36371344719d09 Reviewed-on: https://gerrit.libreoffice.org/41564 Tested-by: Jenkins Reviewed-by: Dennis Francis (cherry picked from commit 0cf19169b634dcc164e028adf1f51f8849c5f884) Reviewed-on: https://gerrit.libreoffice.org/41600 Reviewed-by: Eike Rathke --- sc/source/ui/view/tabvwsh5.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sc/source/ui/view/tabvwsh5.cxx b/sc/source/ui/view/tabvwsh5.cxx index bee5f1501dd7..bc4e7fad8791 100644 --- a/sc/source/ui/view/tabvwsh5.cxx +++ b/sc/source/ui/view/tabvwsh5.cxx @@ -226,11 +226,7 @@ void ScTabViewShell::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) if (!bRefMode) StopRefMode(); else - { GetSelEngine()->Reset(); - GetFunctionSet().SetAnchorFlag(true); - // AnchorFlag, so immediately Control can appended - } } break; -- cgit v1.2.3