summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/lotus
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2018-02-10 13:39:44 +0100
committerMichael Stahl <mstahl@redhat.com>2018-02-12 11:04:09 +0100
commit85851cf46364e1fc1772bef23cdc7fb7cb6fa5a5 (patch)
tree0b9bd2aa4ad76c1d78d30937022f6171a767ea46 /sc/source/filter/lotus
parentTranslate German variable names (diff)
downloadcore-85851cf46364e1fc1772bef23cdc7fb7cb6fa5a5.tar.gz
core-85851cf46364e1fc1772bef23cdc7fb7cb6fa5a5.zip
Translate German variable names
Akt -> Current Erg -> Result Decimal (places) -> Fractinal (part), with related comment translation corrections in Lotus filter Change-Id: I1ea6917fb8e9da2f0f9c48fd1fe55347f8098cac Reviewed-on: https://gerrit.libreoffice.org/49532 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc/source/filter/lotus')
-rw-r--r--sc/source/filter/lotus/op.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/sc/source/filter/lotus/op.cxx b/sc/source/filter/lotus/op.cxx
index 3998a08ca088..dceb1594b294 100644
--- a/sc/source/filter/lotus/op.cxx
+++ b/sc/source/filter/lotus/op.cxx
@@ -82,7 +82,7 @@ void OP_Integer(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/)
rContext.pDoc->EnsureTable(0);
rContext.pDoc->SetValue(ScAddress(nCol, nRow, 0), static_cast<double>(nValue));
- // 0 decimal places!
+ // 0 digits in fractional part!
SetFormat(rContext, nCol, nRow, 0, nFormat, 0);
}
}
@@ -102,7 +102,7 @@ void OP_Number(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/)
rContext.pDoc->EnsureTable(0);
rContext.pDoc->SetValue(ScAddress(nCol, nRow, 0), fValue);
- SetFormat(rContext, nCol, nRow, 0, nFormat, nDezFloat);
+ SetFormat(rContext, nCol, nRow, 0, nFormat, nFractionalFloat);
}
}
@@ -127,7 +127,7 @@ void OP_Label(LotusContext& rContext, SvStream& r, sal_uInt16 n)
PutFormString(rContext, nCol, nRow, 0, pText.get());
- SetFormat(rContext, nCol, nRow, 0, nFormat, nDezStd);
+ SetFormat(rContext, nCol, nRow, 0, nFormat, nFractionalStd);
}
}
@@ -143,26 +143,26 @@ void OP_Formula(LotusContext &rContext, SvStream& r, sal_uInt16 /*n*/)
SCCOL nCol(static_cast<SCCOL>(nTmpCol));
SCROW nRow(static_cast<SCROW>(nTmpRow));
- const ScTokenArray* pErg;
+ const ScTokenArray* pResult;
sal_Int32 nBytesLeft = nFormulaSize;
ScAddress aAddress(nCol, nRow, 0);
svl::SharedStringPool& rSPool = rContext.pLotusRoot->pDoc->GetSharedStringPool();
LotusToSc aConv(rContext, r, rSPool, rContext.pLotusRoot->eCharsetQ, false);
aConv.Reset( aAddress );
- aConv.Convert( pErg, nBytesLeft );
+ aConv.Convert( pResult, nBytesLeft );
if (!aConv.good())
return;
if (ValidColRow(nCol, nRow))
{
- ScFormulaCell* pCell = new ScFormulaCell(rContext.pLotusRoot->pDoc, aAddress, *pErg);
+ ScFormulaCell* pCell = new ScFormulaCell(rContext.pLotusRoot->pDoc, aAddress, *pResult);
pCell->AddRecalcMode( ScRecalcMode::ONLOAD_ONCE );
rContext.pDoc->EnsureTable(0);
rContext.pDoc->SetFormulaCell(ScAddress(nCol, nRow, 0), pCell);
- // nFormat = Default -> decimal places like Float
- SetFormat(rContext, nCol, nRow, 0, nFormat, nDezFloat);
+ // nFormat = Default -> number of digits in fractional part like Float
+ SetFormat(rContext, nCol, nRow, 0, nFormat, nFractionalFloat);
}
}
@@ -286,22 +286,22 @@ void OP_HiddenCols(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/)
{
sal_uInt16 nByte, nBit;
SCCOL nCount;
- sal_uInt8 nAkt;
+ sal_uInt8 nCurrent;
nCount = 0;
for( nByte = 0 ; nByte < 32 ; nByte++ ) // 32 Bytes with ...
{
- r.ReadUChar( nAkt );
+ r.ReadUChar( nCurrent );
for( nBit = 0 ; nBit < 8 ; nBit++ ) // ...each 8 Bits = 256 Bits
{
- if( nAkt & 0x01 ) // is lowest Bit set?
+ if( nCurrent & 0x01 ) // is lowest Bit set?
{
// -> Hidden Col
rContext.pDoc->SetColHidden(nCount, nCount, 0, true);
}
nCount++;
- nAkt = nAkt / 2; // the next please...
+ nCurrent = nCurrent / 2; // the next please...
}
}
}
@@ -334,7 +334,7 @@ void OP_Blank(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/)
SCCOL nCol(static_cast<SCCOL>(nTmpCol));
SCROW nRow(static_cast<SCROW>(nTmpRow));
- SetFormat(rContext, nCol, nRow, 0, nFormat, nDezFloat);
+ SetFormat(rContext, nCol, nRow, 0, nFormat, nFractionalFloat);
}
void OP_BOF123(LotusContext& /*rContext*/, SvStream& r, sal_uInt16 /*n*/)
@@ -393,20 +393,20 @@ void OP_Formula123(LotusContext& rContext, SvStream& r, sal_uInt16 n)
SCROW nRow(static_cast<SCROW>(nTmpRow));
r.SeekRel( 8 ); // skip Result
- const ScTokenArray* pErg;
+ const ScTokenArray* pResult;
sal_Int32 nBytesLeft = (n > 12) ? n - 12 : 0;
ScAddress aAddress( nCol, nRow, nTab );
svl::SharedStringPool& rSPool = rContext.pLotusRoot->pDoc->GetSharedStringPool();
LotusToSc aConv(rContext, r, rSPool, rContext.pLotusRoot->eCharsetQ, true);
aConv.Reset( aAddress );
- aConv.Convert( pErg, nBytesLeft );
+ aConv.Convert( pResult, nBytesLeft );
if (!aConv.good())
return;
if (ValidColRow(nCol, nRow) && nTab <= rContext.pDoc->GetMaxTableNumber())
{
- ScFormulaCell* pCell = new ScFormulaCell(rContext.pLotusRoot->pDoc, aAddress, *pErg);
+ ScFormulaCell* pCell = new ScFormulaCell(rContext.pLotusRoot->pDoc, aAddress, *pResult);
pCell->AddRecalcMode( ScRecalcMode::ONLOAD_ONCE );
rContext.pDoc->EnsureTable(nTab);
rContext.pDoc->SetFormulaCell(ScAddress(nCol,nRow,nTab), pCell);