From f4f1654c07ec58bc36d824e9434ab851b7900e9f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Mar 2018 16:05:38 +0200 Subject: tdf#106667 Hang when trying to open a dialog and the whole sheet is selected regression from commit 8d54796bf152499ecbe61788be64c9035f725dfa (patch) enhance pass-by-ref plugin to detect large arguments which converted this peice of code into an O(n^2) loop Change-Id: I0473a084518c0d10411615e1b3901b9b90144bc9 Reviewed-on: https://gerrit.libreoffice.org/51956 Reviewed-by: Eike Rathke Tested-by: Jenkins --- sc/inc/column.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/inc/column.hxx') diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 4a93f21ed381..07bcdc15f855 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -713,7 +713,7 @@ private: void AttachNewFormulaCells( const sc::CellStoreType::position_type& aPos, size_t nLength ); void BroadcastNewCell( SCROW nRow ); - bool UpdateScriptType( sc::CellTextAttr& rAttr, SCROW nRow, const sc::CellStoreType::iterator& itr ); + bool UpdateScriptType( sc::CellTextAttr& rAttr, SCROW nRow, sc::CellStoreType::iterator& itr ); const ScFormulaCell* FetchFormulaCell( SCROW nRow ) const; -- cgit