summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/writemodfile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/writemodfile.cxx b/configmgr/source/writemodfile.cxx
index 09fe0949b0e9..3e7e281eb6aa 100644
--- a/configmgr/source/writemodfile.cxx
+++ b/configmgr/source/writemodfile.cxx
@@ -209,7 +209,7 @@ template< typename T > void writeListValue(
if (i != 0) {
handle.writeString(" ");
}
- writeValueContent_(handle, std::as_const(val)[i]);
+ writeValueContent_(handle, val[i]);
}
handle.writeString("</value>");
}
@@ -220,7 +220,7 @@ template< typename T > void writeItemListValue(
handle.writeString(">");
css::uno::Sequence< T > val;
value >>= val;
- for (const auto & i : std::as_const(val)) {
+ for (const auto & i : val) {
handle.writeString("<it>");
writeValueContent_(handle, i);
handle.writeString("</it>");