summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/ucbhelper')
-rw-r--r--unotools/source/ucbhelper/progresshandlerwrap.cxx2
-rw-r--r--unotools/source/ucbhelper/ucbhelper.cxx2
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/ucbhelper/progresshandlerwrap.cxx b/unotools/source/ucbhelper/progresshandlerwrap.cxx
index 2d085970bd53..0934633836a6 100644
--- a/unotools/source/ucbhelper/progresshandlerwrap.cxx
+++ b/unotools/source/ucbhelper/progresshandlerwrap.cxx
@@ -38,7 +38,7 @@ static bool getStatusFromAny_Impl( const Any& aAny, OUString& aText, sal_Int32&
Sequence< Any > aSetList;
if( aAny >>= aSetList )
- for( const auto& rSet : aSetList )
+ for( const auto& rSet : std::as_const(aSetList) )
{
if( !bNumIsSet && ( rSet >>= nNum ) )
bNumIsSet = true;
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx
index c2b25cd4f594..a411870827a6 100644
--- a/unotools/source/ucbhelper/ucbhelper.cxx
+++ b/unotools/source/ucbhelper/ucbhelper.cxx
@@ -239,7 +239,7 @@ bool utl::UCBContentHelper::MakeFolder(
{
bool exists = false;
try {
- css::uno::Sequence<css::ucb::ContentInfo> info(
+ const css::uno::Sequence<css::ucb::ContentInfo> info(
parent.queryCreatableContentsInfo());
for (const auto& rInfo : info) {
// Simply look for the first KIND_FOLDER:
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index a1e96fb3a338..0aa836bfd7fb 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -505,7 +505,7 @@ void Moderator::handle( const Reference<XInteractionRequest >& Request )
}
if(aReplyType == EXIT) {
- Sequence<Reference<XInteractionContinuation> > aSeq(
+ const Sequence<Reference<XInteractionContinuation> > aSeq(
Request->getContinuations());
for(const auto& rContinuation : aSeq) {
Reference<XInteractionAbort> aRef(rContinuation,UNO_QUERY);