[Libreoffice-commits] core.git: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Jan 22 18:56:03 UTC 2019
sc/source/filter/excel/excform.cxx | 62 ++++++++++++++++++-------------------
1 file changed, 31 insertions(+), 31 deletions(-)
New commits:
commit 3d2d3dc12b98dfe85dd223efeb92de4e91a99efc
Author: Johnny_M <klasse at partyheld.de>
AuthorDate: Sun Jan 13 14:13:30 2019 +0100
Commit: Eike Rathke <erack at redhat.com>
CommitDate: Tue Jan 22 19:55:36 2019 +0100
Translate German variable names
Please feel free to suggest a better name, if desired
Change-Id: Iebf4c30d01d16ec200297400dafe400f43914f13
Reviewed-on: https://gerrit.libreoffice.org/66258
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack at redhat.com>
diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx
index ad1bef84d7f9..24843c2001bf 100644
--- a/sc/source/filter/excel/excform.cxx
+++ b/sc/source/filter/excel/excform.cxx
@@ -209,7 +209,7 @@ ConvErr ExcelToSc::Convert( std::unique_ptr<ScTokenArray>& pResult, XclImpStream
sal_uInt8 nOp, nLen;
bool bError = false;
bool bArrayFormula = false;
- TokenId nMerk0;
+ TokenId nBuf0;
const bool bRangeName = eFT == FT_RangeName;
const bool bSharedFormula = eFT == FT_SharedFormula;
const bool bConditional = eFT == FT_CondFormat;
@@ -254,90 +254,90 @@ ConvErr ExcelToSc::Convert( std::unique_ptr<ScTokenArray>& pResult, XclImpStream
break;
}
case 0x03: // Addition [312 264]
- aStack >> nMerk0;
- aPool << aStack << ocAdd << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocAdd << nBuf0;
aPool >> aStack;
break;
case 0x04: // Subtraction [313 264]
// SECOND-TOP minus TOP
- aStack >> nMerk0;
- aPool << aStack << ocSub << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocSub << nBuf0;
aPool >> aStack;
break;
case 0x05: // Multiplication [313 264]
- aStack >> nMerk0;
- aPool << aStack << ocMul << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocMul << nBuf0;
aPool >> aStack;
break;
case 0x06: // Division [313 264]
// divide TOP by SECOND-TOP
- aStack >> nMerk0;
- aPool << aStack << ocDiv << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocDiv << nBuf0;
aPool >> aStack;
break;
case 0x07: // Exponentiation [313 265]
// raise SECOND-TOP to power of TOP
- aStack >> nMerk0;
- aPool << aStack << ocPow << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocPow << nBuf0;
aPool >> aStack;
break;
case 0x08: // Concatenation [313 265]
// append TOP to SECOND-TOP
- aStack >> nMerk0;
- aPool << aStack << ocAmpersand << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocAmpersand << nBuf0;
aPool >> aStack;
break;
case 0x09: // Less Than [313 265]
// SECOND-TOP < TOP
- aStack >> nMerk0;
- aPool << aStack << ocLess << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocLess << nBuf0;
aPool >> aStack;
break;
case 0x0A: // Less Than or Equal [313 265]
// SECOND-TOP <= TOP
- aStack >> nMerk0;
- aPool << aStack << ocLessEqual << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocLessEqual << nBuf0;
aPool >> aStack;
break;
case 0x0B: // Equal [313 265]
// SECOND-TOP == TOP
- aStack >> nMerk0;
- aPool << aStack << ocEqual << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocEqual << nBuf0;
aPool >> aStack;
break;
case 0x0C: // Greater Than or Equal [313 265]
// SECOND-TOP >= TOP
- aStack >> nMerk0;
- aPool << aStack << ocGreaterEqual << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocGreaterEqual << nBuf0;
aPool >> aStack;
break;
case 0x0D: // Greater Than [313 265]
// SECOND-TOP > TOP
- aStack >> nMerk0;
- aPool << aStack << ocGreater << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocGreater << nBuf0;
aPool >> aStack;
break;
case 0x0E: // Not Equal [313 265]
// SECOND-TOP != TOP
- aStack >> nMerk0;
- aPool << aStack << ocNotEqual << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocNotEqual << nBuf0;
aPool >> aStack;
break;
case 0x0F: // Intersection [314 265]
- aStack >> nMerk0;
- aPool << aStack << ocIntersect << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocIntersect << nBuf0;
aPool >> aStack;
break;
case 0x10: // Union [314 265]
// ocSep instead of 'ocUnion'
- aStack >> nMerk0;
- aPool << aStack << ocSep << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocSep << nBuf0;
// doesn't fit exactly, but is more Excel-like
aPool >> aStack;
break;
case 0x11: // Range [314 265]
- aStack >> nMerk0;
- aPool << aStack << ocRange << nMerk0;
+ aStack >> nBuf0;
+ aPool << aStack << ocRange << nBuf0;
aPool >> aStack;
break;
case 0x12: // Unary Plus [312 264]
More information about the Libreoffice-commits
mailing list