This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new 031f6d1ebd Translate German (Anz -> Count)
031f6d1ebd is described below
commit 031f6d1ebd17b2b2b08aa94d0af061531c8c9bf2
Author: mseidel <[email protected]>
AuthorDate: Tue Mar 25 01:00:50 2025 +0100
Translate German (Anz -> Count)
(cherry picked from commit 3d3dcf63032832f469444251c31962c98f82b970)
---
main/filter/source/msfilter/msdffimp.cxx | 4 ++--
main/svx/source/svdraw/svddrgmt.cxx | 8 ++++----
main/svx/source/svdraw/svdopath.cxx | 14 +++++++-------
main/svx/source/svdraw/svdtrans.cxx | 16 ++++++++--------
4 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/main/filter/source/msfilter/msdffimp.cxx
b/main/filter/source/msfilter/msdffimp.cxx
index 5d33a4b40c..1a15e32b57 100644
--- a/main/filter/source/msfilter/msdffimp.cxx
+++ b/main/filter/source/msfilter/msdffimp.cxx
@@ -3235,8 +3235,8 @@ void SvxMSDffManager::Scale( PolyPolygon& rPoly ) const
{
if ( !bNeedMap )
return;
- sal_uInt16 nPolyAnz = rPoly.Count();
- for ( sal_uInt16 nPolyNum = 0; nPolyNum < nPolyAnz; nPolyNum++ )
+ sal_uInt16 nPolyCount = rPoly.Count();
+ for ( sal_uInt16 nPolyNum = 0; nPolyNum < nPolyCount; nPolyNum++ )
Scale( rPoly[ nPolyNum ] );
}
diff --git a/main/svx/source/svdraw/svddrgmt.cxx
b/main/svx/source/svdraw/svddrgmt.cxx
index dfd05c7307..abdb0e9485 100644
--- a/main/svx/source/svdraw/svddrgmt.cxx
+++ b/main/svx/source/svdraw/svddrgmt.cxx
@@ -3018,17 +3018,17 @@ void
SdrDragCrook::_MovAllPoints(basegfx::B2DPolyPolygon& rTarget)
if (pPV->HasMarkedObjPageView())
{
- sal_uInt16 nPolyAnz=aTempPolyPoly.Count();
+ sal_uInt16 nPolyCount=aTempPolyPoly.Count();
if (!bContortion &&
!getSdrDragView().IsNoDragXorPolys())
{
sal_uInt16 n1st=0,nLast=0;
Point aC(aCenter);
- while (n1st<nPolyAnz)
+ while (n1st<nPolyCount)
{
nLast=n1st;
- while (nLast<nPolyAnz &&
aTempPolyPoly[nLast].GetPointCount()!=0) nLast++;
+ while (nLast<nPolyCount &&
aTempPolyPoly[nLast].GetPointCount()!=0) nLast++;
Rectangle
aBound(aTempPolyPoly[n1st].GetBoundRect());
sal_uInt16 i;
@@ -3088,7 +3088,7 @@ void SdrDragCrook::_MovAllPoints(basegfx::B2DPolyPolygon&
rTarget)
{
sal_uInt16 i,j;
- for (j=0; j<nPolyAnz; j++)
+ for (j=0; j<nPolyCount; j++)
{
XPolygon& aPol=aTempPolyPoly[j];
sal_uInt16 nPtAnz=aPol.GetPointCount();
diff --git a/main/svx/source/svdraw/svdopath.cxx
b/main/svx/source/svdraw/svdopath.cxx
index b07d7d5162..bd8147891d 100644
--- a/main/svx/source/svdraw/svdopath.cxx
+++ b/main/svx/source/svdraw/svdopath.cxx
@@ -1485,11 +1485,11 @@ FASTBOOL
ImpPathForDragAndCreate::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCm
}
}
- sal_uInt16 nPolyAnz=aPathPolygon.Count();
- if (nPolyAnz!=0) {
+ sal_uInt16 nPolyCount=aPathPolygon.Count();
+ if (nPolyCount!=0) {
// den letzten Punkt ggf. wieder löschen
if (eCmd==SDRCREATE_FORCEEND) {
- XPolygon& rXP=aPathPolygon[nPolyAnz-1];
+ XPolygon& rXP=aPathPolygon[nPolyCount-1];
sal_uInt16 nPtAnz=rXP.GetPointCount();
if (nPtAnz>=2) {
if (!rXP.IsControl(nPtAnz-2)) {
@@ -1503,12 +1503,12 @@ FASTBOOL
ImpPathForDragAndCreate::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCm
}
}
}
- for (sal_uInt16 nPolyNum=nPolyAnz; nPolyNum>0;) {
+ for (sal_uInt16 nPolyNum=nPolyCount; nPolyNum>0;) {
nPolyNum--;
XPolygon& rXP=aPathPolygon[nPolyNum];
sal_uInt16 nPtAnz=rXP.GetPointCount();
// Polygone mit zu wenig Punkten werden gelöscht
- if (nPolyNum<nPolyAnz-1 || eCmd==SDRCREATE_FORCEEND) {
+ if (nPolyNum<nPolyCount-1 || eCmd==SDRCREATE_FORCEEND) {
if (nPtAnz<2) aPathPolygon.Remove(nPolyNum);
}
}
@@ -2058,11 +2058,11 @@ void SdrPathObj::AddToHdlList(SdrHdlList& rHdlList)
const
{
// keep old stuff to be able to keep old SdrHdl stuff, too
const XPolyPolygon aOldPathPolygon(GetPathPoly());
- sal_uInt16 nPolyCnt=aOldPathPolygon.Count();
+ sal_uInt16 nPolyCount=aOldPathPolygon.Count();
FASTBOOL bClosed=IsClosed();
sal_uInt16 nIdx=0;
- for (sal_uInt16 i=0; i<nPolyCnt; i++) {
+ for (sal_uInt16 i=0; i<nPolyCount; i++) {
const XPolygon& rXPoly=aOldPathPolygon.GetObject(i);
sal_uInt16 nPntCnt=rXPoly.GetPointCount();
if (bClosed && nPntCnt>1) nPntCnt--;
diff --git a/main/svx/source/svdraw/svdtrans.cxx
b/main/svx/source/svdraw/svdtrans.cxx
index f47057ff64..3502644324 100644
--- a/main/svx/source/svdraw/svdtrans.cxx
+++ b/main/svx/source/svdraw/svdtrans.cxx
@@ -469,24 +469,24 @@ void CrookStretchPoly(XPolygon& rPoly, const Point&
rCenter, const Point& rRad,
void CrookRotatePoly(XPolyPolygon& rPoly, const Point& rCenter, const Point&
rRad, FASTBOOL bVert)
{
- sal_uInt16 nPolyAnz=rPoly.Count();
- for (sal_uInt16 nPolyNum=0; nPolyNum<nPolyAnz; nPolyNum++) {
+ sal_uInt16 nPolyCount=rPoly.Count();
+ for (sal_uInt16 nPolyNum=0; nPolyNum<nPolyCount; nPolyNum++) {
CrookRotatePoly(rPoly[nPolyNum],rCenter,rRad,bVert);
}
}
void CrookSlantPoly(XPolyPolygon& rPoly, const Point& rCenter, const Point&
rRad, FASTBOOL bVert)
{
- sal_uInt16 nPolyAnz=rPoly.Count();
- for (sal_uInt16 nPolyNum=0; nPolyNum<nPolyAnz; nPolyNum++) {
+ sal_uInt16 nPolyCount=rPoly.Count();
+ for (sal_uInt16 nPolyNum=0; nPolyNum<nPolyCount; nPolyNum++) {
CrookSlantPoly(rPoly[nPolyNum],rCenter,rRad,bVert);
}
}
void CrookStretchPoly(XPolyPolygon& rPoly, const Point& rCenter, const Point&
rRad, FASTBOOL bVert, const Rectangle rRefRect)
{
- sal_uInt16 nPolyAnz=rPoly.Count();
- for (sal_uInt16 nPolyNum=0; nPolyNum<nPolyAnz; nPolyNum++) {
+ sal_uInt16 nPolyCount=rPoly.Count();
+ for (sal_uInt16 nPolyNum=0; nPolyNum<nPolyCount; nPolyNum++) {
CrookStretchPoly(rPoly[nPolyNum],rCenter,rRad,bVert,rRefRect);
}
}
@@ -863,7 +863,7 @@ void GetMeterOrInch(MapUnit eMU, short& rnComma, long&
rnMul, long& rnDiv, int&
case MAP_100TH_INCH : bInch=sal_True; nComma=2; break;
case MAP_10TH_INCH : bInch=sal_True; nComma=1; break;
case MAP_INCH : bInch=sal_True; nComma=0; break;
- case MAP_POINT : bInch=sal_True; rnDiv=72; break; // 1Pt
= 1/72"
+ case MAP_POINT : bInch=sal_True; rnDiv=72; break; // 1Pt =
1/72"
case MAP_TWIP : bInch=sal_True; rnDiv=144; nComma=1;
break; // 1Twip = 1/1440"
// Sonstiges
case MAP_PIXEL : break;
@@ -997,7 +997,7 @@ void SdrFormatter::TakeStr(long nVal, XubString& rStr) const
if(nAnz >= 0 && rLoc.isNumLeadingZero())
nAnz++;
- for(xub_StrLen i=0; i<nAnz; i++)
+ for(xub_StrLen i=0; i<nAnz; i++)
aStr.Insert(aNullCode, 0);
// zu viele Nachkommastellen abhacken