[Libreoffice-commits] core.git: svl/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 25 07:59:48 UTC 2019
svl/source/misc/msodocumentlockfile.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ae0ded0c4585c2d59083c84a7705cdd1a291c510
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Mar 24 18:56:11 2019 +0000
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Mar 25 08:59:26 2019 +0100
Fix typo
Change-Id: I889e7809e8ae48f770afd376cc2d6eca3442b189
Reviewed-on: https://gerrit.libreoffice.org/69642
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/svl/source/misc/msodocumentlockfile.cxx b/svl/source/misc/msodocumentlockfile.cxx
index 938b36d5cd26..8e2be6a9abe9 100644
--- a/svl/source/misc/msodocumentlockfile.cxx
+++ b/svl/source/misc/msodocumentlockfile.cxx
@@ -212,7 +212,7 @@ LockFileEntry MSODocumentLockFile::GetLockData()
const sal_Int8* pBuf = aBuf.getConstArray() + 54;
int nUTF16Len = *pBuf; // try Word position
// If UTF-16 length is 0x20, then ACP length is also less than maximal, which means
- // that in Word lockfile case, at least two preceeding bytes would be zero. Both
+ // that in Word lockfile case, at least two preceding bytes would be zero. Both
// Excel and PowerPoint lockfiles would have at least one of those bytes non-zero.
if (nUTF16Len == 0x20 && (*(pBuf - 1) != 0 || *(pBuf - 2) != 0))
nUTF16Len = *++pBuf; // use Excel/PowerPoint position
More information about the Libreoffice-commits
mailing list