summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2018-04-21 12:53:08 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2018-04-21 22:54:29 +0200
commit5289441ffa227f5f358ca4dc28df416be922aa66 (patch)
tree33979bc78daa0b629fb7702f3a9f25c961e1f5e0 /sc
parentb9fde7e7b73c4902a8eb35fab46abd137e36856e (diff)
Translate German variable names
Puffer -> Buffer in Lotus filter Change-Id: If6d5190c7bc2f884083a2a47b6bd665b3f95b3b0 Reviewed-on: https://gerrit.libreoffice.org/53250 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/lotus/op.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/sc/source/filter/lotus/op.cxx b/sc/source/filter/lotus/op.cxx
index e78419726141..7dec5cfbd0d1 100644
--- a/sc/source/filter/lotus/op.cxx
+++ b/sc/source/filter/lotus/op.cxx
@@ -196,9 +196,9 @@ void OP_NamedRange(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/)
// POST: don't save for invalid coordinates
sal_uInt16 nColSt, nRowSt, nColEnd, nRowEnd;
- sal_Char cPuffer[ 16+1 ];
- r.ReadBytes(cPuffer, 16);
- cPuffer[ 16 ] = 0;
+ sal_Char cBuffer[ 16+1 ];
+ r.ReadBytes(cBuffer, 16);
+ cBuffer[ 16 ] = 0;
r.ReadUInt16( nColSt ).ReadUInt16( nRowSt ).ReadUInt16( nColEnd ).ReadUInt16( nRowEnd );
@@ -212,14 +212,14 @@ void OP_NamedRange(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/)
pRange = new LotusRange( static_cast<SCCOL> (nColSt), static_cast<SCROW> (nRowSt),
static_cast<SCCOL> (nColEnd), static_cast<SCROW> (nRowEnd) );
- sal_Char cBuf[sizeof(cPuffer)+1];
- if( rtl::isAsciiDigit( static_cast<unsigned char>(*cPuffer) ) )
+ sal_Char cBuf[sizeof(cBuffer)+1];
+ if( rtl::isAsciiDigit( static_cast<unsigned char>(*cBuffer) ) )
{ // first char in name is a number -> prepend 'A'
cBuf[0] = 'A';
- strcpy( cBuf + 1, cPuffer ); // #100211# - checked
+ strcpy( cBuf + 1, cBuffer ); // #100211# - checked
}
else
- strcpy( cBuf, cPuffer ); // #100211# - checked
+ strcpy( cBuf, cBuffer ); // #100211# - checked
OUString aTmp( cBuf, strlen(cBuf), rContext.pLotusRoot->eCharsetQ );
@@ -235,9 +235,9 @@ void OP_SymphNamedRange(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/)
sal_uInt16 nColSt, nRowSt, nColEnd, nRowEnd;
sal_uInt8 nType;
- sal_Char cPuffer[ 16+1 ];
- r.ReadBytes(cPuffer, 16);
- cPuffer[ 16 ] = 0;
+ sal_Char cBuffer[ 16+1 ];
+ r.ReadBytes(cBuffer, 16);
+ cBuffer[ 16 ] = 0;
r.ReadUInt16( nColSt ).ReadUInt16( nRowSt ).ReadUInt16( nColEnd ).ReadUInt16( nRowEnd ).ReadUChar( nType );
@@ -251,14 +251,14 @@ void OP_SymphNamedRange(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/)
pRange = new LotusRange( static_cast<SCCOL> (nColSt), static_cast<SCROW> (nRowSt),
static_cast<SCCOL> (nColEnd), static_cast<SCROW> (nRowEnd) );
- sal_Char cBuf[sizeof(cPuffer)+1];
- if( rtl::isAsciiDigit( static_cast<unsigned char>(*cPuffer) ) )
+ sal_Char cBuf[sizeof(cBuffer)+1];
+ if( rtl::isAsciiDigit( static_cast<unsigned char>(*cBuffer) ) )
{ // first char in name is a number -> prepend 'A'
cBuf[0] = 'A';
- strcpy( cBuf + 1, cPuffer ); // #100211# - checked
+ strcpy( cBuf + 1, cBuffer ); // #100211# - checked
}
else
- strcpy( cBuf, cPuffer ); // #100211# - checked
+ strcpy( cBuf, cBuffer ); // #100211# - checked
OUString aTmp( cBuf, strlen(cBuf), rContext.pLotusRoot->eCharsetQ );
aTmp = ScfTools::ConvertToScDefinedName( aTmp );