summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-12 16:51:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-13 07:19:41 +0100
commit4ab53b40329e9cf2a50dfb90bb559ace309b7263 (patch)
tree00cd474efea57fd558dbbabf42d272f9acc39859 /sc
parent5f46d5e8d6fed12301174c456b09d37787fcc1de (diff)
translate some german var names
Anz -> Count Change-Id: I26f85cee2dff12377dbf0b21f8ad7b98d15b95c3 Reviewed-on: https://gerrit.libreoffice.org/69103 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/inc/tokstack.hxx2
-rw-r--r--sc/source/ui/unoobj/scdetect.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/filter/inc/tokstack.hxx b/sc/source/filter/inc/tokstack.hxx
index 31cc18518494..50d4bbd6f66f 100644
--- a/sc/source/filter/inc/tokstack.hxx
+++ b/sc/source/filter/inc/tokstack.hxx
@@ -201,7 +201,7 @@ private:
std::unique_ptr<sal_uInt16[]> pElement; // Array with Indices for elements
std::unique_ptr<E_TYPE[]> pType; // ...with Type-Info
- std::unique_ptr<sal_uInt16[]> pSize; // ...with size (Anz. sal_uInt16)
+ std::unique_ptr<sal_uInt16[]> pSize; // ...with size
sal_uInt16 nElement;
sal_uInt16 nElementCurrent;
diff --git a/sc/source/ui/unoobj/scdetect.cxx b/sc/source/ui/unoobj/scdetect.cxx
index 23071a09ea7f..4f18e3b1d853 100644
--- a/sc/source/ui/unoobj/scdetect.cxx
+++ b/sc/source/ui/unoobj/scdetect.cxx
@@ -43,7 +43,7 @@ namespace {
// 0x8000: recognition finished
#define M_DC 0x0100
-#define M_ALT(ANZ) (0x0200+(ANZ))
+#define M_ALT(CNT) (0x0200+(CNT))
#define M_ENDE 0x8000
const sal_uInt16 pLotus[] = // Lotus 1/1A/2
@@ -115,14 +115,14 @@ bool detectThisFormat(SvStream& rStr, const sal_uInt16* pSearch)
}
else if( nMuster & M_ALT(0) )
{ // alternative Bytes
- sal_uInt8 nAnzAlt = static_cast<sal_uInt8>(nMuster);
+ sal_uInt8 nCntAlt = static_cast<sal_uInt8>(nMuster);
bSync = false; // first unsynchron
- while( nAnzAlt > 0 )
+ while( nCntAlt > 0 )
{
pSearch++;
if( static_cast<sal_uInt8>(*pSearch) == nByte )
bSync = true; // only now synchronization
- nAnzAlt--;
+ nCntAlt--;
}
}
else if( nMuster & M_ENDE )