summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/select.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/select.cxx')
-rw-r--r--sc/source/ui/view/select.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/view/select.cxx b/sc/source/ui/view/select.cxx
index 772d86df1c66..e5fcb5e254a5 100644
--- a/sc/source/ui/view/select.cxx
+++ b/sc/source/ui/view/select.cxx
@@ -274,6 +274,9 @@ void ScViewFunctionSet::SetAnchor( SCCOL nPosX, SCROW nPosY )
void ScViewFunctionSet::DestroyAnchor()
{
+ if (pViewData->IsAnyFillMode())
+ return;
+
bool bRefMode = SC_MOD()->IsFormulaMode();
if (bRefMode)
pViewData->GetView()->DoneRefMode( true );