sc/source/ui/view/viewfun2.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit bbf671229cd06156e3d4eff5a2c7164ebd28e020 Author: Eike Rathke <er...@redhat.com> Date: Fri Aug 12 12:16:38 2016 +0200 check SelectionForbidsCellFill() on EnterBlock() ... to prevent Alt+Enter filling a huge selection. Change-Id: I8ce905c6e5ad0cb4dadf309f7b995142414e7193 diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index c6e2a94..2251efd 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -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(); OUString aNewStr = rString; if ( pData ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits