[Libreoffice-commits] core.git: sc/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 24 15:25:53 UTC 2021


 sc/source/filter/excel/impop.cxx |   23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

New commits:
commit 0efa548a3f2f392581396db2c7292fdda3d954c7
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 24 14:17:15 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Aug 24 17:25:05 2021 +0200

    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 at redhat.com>

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())
     {


More information about the Libreoffice-commits mailing list