[Libreoffice-commits] core.git: sd/source
Johnny_M
klasse at partyheld.de
Wed Mar 28 16:12:04 UTC 2018
sd/source/core/sdiocmpt.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 4475ccdc3d8f7089ad44f4b01c2d589a607e8e48
Author: Johnny_M <klasse at partyheld.de>
Date: Sat Mar 24 21:11:26 2018 +0100
Translate German variable names
Akt -> Current in sdiocmpt
Change-Id: I39f05bcf7168fe9fbe6cf90b2499037ec5680cc5
Reviewed-on: https://gerrit.libreoffice.org/51806
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Bartosz Kosiorek <gang65 at poczta.onet.pl>
diff --git a/sd/source/core/sdiocmpt.cxx b/sd/source/core/sdiocmpt.cxx
index ae352d5a2491..7cdd36a05139 100644
--- a/sd/source/core/sdiocmpt.cxx
+++ b/sd/source/core/sdiocmpt.cxx
@@ -66,11 +66,11 @@ void old_SdrDownCompat::CloseSubRecord()
if(rStream.GetError())
return;
- sal_uInt32 nAktPos(rStream.Tell());
+ sal_uInt32 nCurrentPos(rStream.Tell());
if(nMode == StreamMode::READ)
{
- sal_uInt32 nReadCnt(nAktPos - nSubRecPos);
+ sal_uInt32 nReadCnt(nCurrentPos - nSubRecPos);
if(nReadCnt != nSubRecSiz)
{
rStream.Seek(nSubRecPos + nSubRecSiz);
@@ -78,10 +78,10 @@ void old_SdrDownCompat::CloseSubRecord()
}
else if(nMode == StreamMode::WRITE)
{
- nSubRecSiz = nAktPos - nSubRecPos;
+ nSubRecSiz = nCurrentPos - nSubRecPos;
rStream.Seek(nSubRecPos);
Write();
- rStream.Seek(nAktPos);
+ rStream.Seek(nCurrentPos);
}
bOpen = false;
More information about the Libreoffice-commits
mailing list