summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hlmarkwn.cxx2
-rw-r--r--cui/source/options/optlingu.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx
index 0f45cfe9680a..f35be2db2aea 100644
--- a/cui/source/dialogs/hlmarkwn.cxx
+++ b/cui/source/dialogs/hlmarkwn.cxx
@@ -201,7 +201,7 @@ void SvxHlinkDlgMarkWnd::RestoreLastSelection()
//now to what was available at dialog close time
if (!bSelectedEntry && !aLastSelectedPath.empty())
{
- std::deque<OUString> aTmpSelectedPath(aLastSelectedPath);
+ std::deque<OUString> aTmpSelectedPath(std::move(aLastSelectedPath));
std::unique_ptr<weld::TreeIter> xEntry(mxLbTree->make_iterator());
if (!mxLbTree->get_iter_first(*xEntry))
xEntry.reset();
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index 8cdc7997531b..d3b4c59d8d23 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -1964,7 +1964,7 @@ void SvxEditModulesDlg::LangSelectHdl_Impl(const SvxLanguageBox* pBox)
}
}
}
- aLastLocale = aCurLocale;
+ aLastLocale = std::move(aCurLocale);
}
IMPL_LINK( SvxEditModulesDlg, UpDownHdl_Impl, weld::Button&, rBtn, void )