summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-03-24 18:56:11 +0000
committerJulien Nabet <serval2412@yahoo.fr>2019-03-25 08:59:26 +0100
commitae0ded0c4585c2d59083c84a7705cdd1a291c510 (patch)
treefd1a513fa0d8cdd798e609e026b2fc13ecdcdfdd /svl
parentffa07997b245f793561153735da2631f993f6f9e (diff)
Fix typo
Change-Id: I889e7809e8ae48f770afd376cc2d6eca3442b189 Reviewed-on: https://gerrit.libreoffice.org/69642 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/misc/msodocumentlockfile.cxx2
1 files changed, 1 insertions, 1 deletions
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