Kaydet (Commit) bbf67122 authored tarafından Eike Rathke's avatar Eike Rathke

check SelectionForbidsCellFill() on EnterBlock()

... to prevent Alt+Enter filling a huge selection.

Change-Id: I8ce905c6e5ad0cb4dadf309f7b995142414e7193
üst b9592bbe
...@@ -750,6 +750,12 @@ void ScViewFunc::EnterBlock( const OUString& rString, const EditTextObject* pDat ...@@ -750,6 +750,12 @@ void ScViewFunc::EnterBlock( const OUString& rString, const EditTextObject* pDat
} }
} }
if (GetViewData().SelectionForbidsCellFill())
{
PaintArea(nCol, nRow, nCol, nRow); // possibly the edit-engine is still painted there
return;
}
ScDocument* pDoc = GetViewData().GetDocument(); ScDocument* pDoc = GetViewData().GetDocument();
OUString aNewStr = rString; OUString aNewStr = rString;
if ( pData ) if ( pData )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment