diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx index 85ebffc50295..44585254d753 100644 --- a/sc/source/filter/excel/impop.cxx +++ b/sc/source/filter/excel/impop.cxx @@ -30,11 +30,12 @@ #include #include #include -#include #include #include #include +#include #include +#include #include #include @@ -1080,6 +1081,12 @@ void ImportExcel::TableOp() nInpRow2 = aIn.ReaduInt16(); nInpCol2 = aIn.ReaduInt16(); + if (utl::ConfigManager::IsFuzzing()) + { + //shrink to smallish arbitrary value to not timeout + nLastRow = std::min(nLastRow, MAXROW_30); + } + if( ValidColRow( nLastCol, nLastRow ) ) { if( nFirstCol && nFirstRow )