summaryrefslogtreecommitdiffstats
path: root/sc/source/core/data/tabprotection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/tabprotection.cxx')
-rw-r--r--sc/source/core/data/tabprotection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/tabprotection.cxx b/sc/source/core/data/tabprotection.cxx
index a3a4b777c33f..63bcbb3553e0 100644
--- a/sc/source/core/data/tabprotection.cxx
+++ b/sc/source/core/data/tabprotection.cxx
@@ -193,7 +193,7 @@ Sequence<sal_Int8> ScTableProtectionImpl::hashPassword(
aChars.push_back(static_cast<sal_Char>(rPassHash[i]));
Sequence<sal_Int8> aNewHash;
- SvPasswordHelper::GetHashPassword(aNewHash, &aChars[0], aChars.size());
+ SvPasswordHelper::GetHashPassword(aNewHash, aChars.data(), aChars.size());
return aNewHash;
}