diff --git a/components/fpspreadsheet/source/common/fpsopendocument.pas b/components/fpspreadsheet/source/common/fpsopendocument.pas index 684517452..6c91d7a67 100644 --- a/components/fpspreadsheet/source/common/fpsopendocument.pas +++ b/components/fpspreadsheet/source/common/fpsopendocument.pas @@ -687,13 +687,6 @@ begin if ASection > 2 then // ods supports only at most 3 sections exit; - - - - if AFormatName = 'N1006' then - ns := 1; - - ns := Length(FSections); if (ns = 0) then exit;