summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2018-03-10 11:36:07 +0100
committerMichael Stahl <mstahl@redhat.com>2018-03-13 13:04:57 +0100
commit886efb9577c6661581033e994819990026affe86 (patch)
treeb7be8ec39fc8aed0e1f279ae21ce4566e80c4e03 /sw
parentbc3205235e5a6674452b4224ace0b58114d1fe3e (diff)
Translate German variable names
Akt -> Current in ww8graf2 Change-Id: Idf70cdc5ebac2385ad7a74084b58c1a1aae652a7 Reviewed-on: https://gerrit.libreoffice.org/51037 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8graf2.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/filter/ww8/ww8graf2.cxx b/sw/source/filter/ww8/ww8graf2.cxx
index 7e634e5114fe..68695e277a24 100644
--- a/sw/source/filter/ww8/ww8graf2.cxx
+++ b/sw/source/filter/ww8/ww8graf2.cxx
@@ -322,14 +322,14 @@ WW8PicDesc::WW8PicDesc( const WW8_PIC& rPic )
nCT = rPic.dyaCropTop;
nCB = rPic.dyaCropBottom;
- long nAktWidth = nOriWidth - (nCL + nCR); // Size after crop
- long nAktHeight = nOriHeight - (nCT + nCB);
- if (!nAktWidth)
- nAktWidth = 1;
- if (!nAktHeight)
- nAktHeight = 1;
- nWidth = nAktWidth * rPic.mx / 1000; // Writer Size
- nHeight = nAktHeight * rPic.my / 1000;
+ long nCurrentWidth = nOriWidth - (nCL + nCR); // Size after crop
+ long nCurrentHeight = nOriHeight - (nCT + nCB);
+ if (!nCurrentWidth)
+ nCurrentWidth = 1;
+ if (!nCurrentHeight)
+ nCurrentHeight = 1;
+ nWidth = nCurrentWidth * rPic.mx / 1000; // Writer Size
+ nHeight = nCurrentHeight * rPic.my / 1000;
}
void SwWW8ImplReader::ReplaceObj(const SdrObject &rReplaceObj,