diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-24 14:17:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-24 17:25:05 +0200 |
commit | 0efa548a3f2f392581396db2c7292fdda3d954c7 (patch) | |
tree | 8151302ba3c253d46f59bbbe7ce86667fe7c523c /sc | |
parent | 566d5be0f26b83f38392a7da928ac6f6e63f0c16 (diff) |
move variables declaration to their use
Change-Id: I95deffd6db252f6c2635c13814a07fa604b64789
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120950
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/impop.cxx | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx index e23677e55d10..c8bae9ae8969 100644 --- a/sc/source/filter/excel/impop.cxx +++ b/sc/source/filter/excel/impop.cxx @@ -1093,20 +1093,15 @@ void ImportExcel::Defrowheight345() void ImportExcel::TableOp() { - sal_uInt16 nFirstRow, nLastRow; - sal_uInt8 nFirstCol, nLastCol; - sal_uInt16 nGrbit; - sal_uInt16 nInpRow, nInpCol, nInpRow2, nInpCol2; - - nFirstRow = aIn.ReaduInt16(); - nLastRow = aIn.ReaduInt16(); - nFirstCol = aIn.ReaduInt8(); - nLastCol = aIn.ReaduInt8(); - nGrbit = aIn.ReaduInt16(); - nInpRow = aIn.ReaduInt16(); - nInpCol = aIn.ReaduInt16(); - nInpRow2 = aIn.ReaduInt16(); - nInpCol2 = aIn.ReaduInt16(); + sal_uInt16 nFirstRow = aIn.ReaduInt16(); + sal_uInt16 nLastRow = aIn.ReaduInt16(); + sal_uInt8 nFirstCol = aIn.ReaduInt8(); + sal_uInt8 nLastCol = aIn.ReaduInt8(); + sal_uInt16 nGrbit = aIn.ReaduInt16(); + sal_uInt16 nInpRow = aIn.ReaduInt16(); + sal_uInt16 nInpCol = aIn.ReaduInt16(); + sal_uInt16 nInpRow2 = aIn.ReaduInt16(); + sal_uInt16 nInpCol2 = aIn.ReaduInt16(); if (utl::ConfigManager::IsFuzzing()) { |