Kaydet (Commit) f8d7e734 authored tarafından Johnny_M's avatar Johnny_M Kaydeden (comit) Markus Mohrhard

Translate German variable names

Akt -> Current in Lotus filter

Change-Id: Icb13ea51c715df96223fd5b49f33d9321ef41d05
Reviewed-on: https://gerrit.libreoffice.org/49196Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst f7fb7813
...@@ -47,7 +47,7 @@ ErrCode ImportLotus::Read() ...@@ -47,7 +47,7 @@ ErrCode ImportLotus::Read()
ErrCode eRet = ERRCODE_NONE; ErrCode eRet = ERRCODE_NONE;
// ScFormulaCell *pLastFormCell; // ScFormulaCell *pLastFormCell;
STATE eAkt = S_START; STATE eCurrent = S_START;
nTab = 0; nTab = 0;
nExtTab = -2; nExtTab = -2;
...@@ -57,28 +57,28 @@ ErrCode ImportLotus::Read() ...@@ -57,28 +57,28 @@ ErrCode ImportLotus::Read()
// start progressbar // start progressbar
ScfStreamProgressBar aPrgrsBar( *pIn, pD->GetDocumentShell() ); ScfStreamProgressBar aPrgrsBar( *pIn, pD->GetDocumentShell() );
LotusContext &rContext = aConv.getContext(); LotusContext &rContext = aConv.getContext();
while( eAkt != S_END ) while( eCurrent != S_END )
{ {
pIn->ReadUInt16( nOp ).ReadUInt16( nRecLen ); pIn->ReadUInt16( nOp ).ReadUInt16( nRecLen );
if (!pIn->good() || nNextRec > SAL_MAX_UINT32 - nRecLen - 4) if (!pIn->good() || nNextRec > SAL_MAX_UINT32 - nRecLen - 4)
{ {
eRet = SCERR_IMPORT_FORMAT; eRet = SCERR_IMPORT_FORMAT;
eAkt = S_END; eCurrent = S_END;
if (!pIn->good()) if (!pIn->good())
break; // while break; // while
} }
nNextRec += nRecLen + 4; nNextRec += nRecLen + 4;
switch( eAkt ) switch( eCurrent )
{ {
case S_START: // S_START case S_START: // S_START
if( nOp ) if( nOp )
{ {
eRet = SCERR_IMPORT_UNKNOWN_WK; eRet = SCERR_IMPORT_UNKNOWN_WK;
eAkt = S_END; eCurrent = S_END;
} }
else else
{ {
...@@ -87,16 +87,16 @@ ErrCode ImportLotus::Read() ...@@ -87,16 +87,16 @@ ErrCode ImportLotus::Read()
Bof(); Bof();
switch (rContext.pLotusRoot->eFirstType) switch (rContext.pLotusRoot->eFirstType)
{ {
case Lotus123Typ::WK3: eAkt = S_WK3; break; case Lotus123Typ::WK3: eCurrent = S_WK3; break;
case Lotus123Typ::WK4: eAkt = S_WK4; break; case Lotus123Typ::WK4: eCurrent = S_WK4; break;
default: default:
eRet = SCERR_IMPORT_UNKNOWN_WK; eRet = SCERR_IMPORT_UNKNOWN_WK;
eAkt = S_END; eCurrent = S_END;
} }
} }
else else
{ {
eAkt = S_END; // TODO: add here something for <= WK1! eCurrent = S_END; // TODO: add here something for <= WK1!
eRet = ErrCode(0xFFFFFFFF); eRet = ErrCode(0xFFFFFFFF);
} }
} }
...@@ -110,13 +110,13 @@ ErrCode ImportLotus::Read() ...@@ -110,13 +110,13 @@ ErrCode ImportLotus::Read()
switch( nOp ) switch( nOp )
{ {
case 0x0001: // EOF case 0x0001: // EOF
eAkt = S_FM3; eCurrent = S_FM3;
nTab++; nTab++;
break; break;
case 0x0002: // PASSWORD case 0x0002: // PASSWORD
eRet = SCERR_IMPORT_FILEPASSWD; eRet = SCERR_IMPORT_FILEPASSWD;
eAkt = S_END; eCurrent = S_END;
break; break;
case 0x0007: // COLUMNWIDTH case 0x0007: // COLUMNWIDTH
...@@ -177,7 +177,7 @@ ErrCode ImportLotus::Read() ...@@ -177,7 +177,7 @@ ErrCode ImportLotus::Read()
else else
{ {
eRet = SCERR_IMPORT_FORMAT; eRet = SCERR_IMPORT_FORMAT;
eAkt = S_END; eCurrent = S_END;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment