summaryrefslogtreecommitdiffstats
path: root/sdext/source/presenter/PresenterTheme.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterTheme.cxx')
-rw-r--r--sdext/source/presenter/PresenterTheme.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx
index c29e8e0de8a2..c84747d0f360 100644
--- a/sdext/source/presenter/PresenterTheme.cxx
+++ b/sdext/source/presenter/PresenterTheme.cxx
@@ -323,7 +323,7 @@ bool PresenterTheme::ConvertToColor (
Sequence<sal_Int8> aByteSequence;
if (rColorSequence >>= aByteSequence)
{
- rColor = std::accumulate(aByteSequence.begin(), aByteSequence.end(), sal_uInt32(0),
+ rColor = std::accumulate(std::cbegin(aByteSequence), std::cend(aByteSequence), sal_uInt32(0),
[](const sal_uInt32 nRes, const sal_uInt8 nByte) { return (nRes << 8) | nByte; });
return true;
}