[Libreoffice-commits] core.git: sc/source
Johnny_M
klasse at partyheld.de
Sat Apr 21 20:55:41 UTC 2018
sc/source/filter/lotus/op.cxx | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
New commits:
commit 5289441ffa227f5f358ca4dc28df416be922aa66
Author: Johnny_M <klasse at partyheld.de>
Date: Sat Apr 21 12:53:08 2018 +0200
Translate German variable names
Puffer -> Buffer in Lotus filter
Change-Id: If6d5190c7bc2f884083a2a47b6bd665b3f95b3b0
Reviewed-on: https://gerrit.libreoffice.org/53250
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny at eglug.org>
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 );
More information about the Libreoffice-commits
mailing list