diff options
Diffstat (limited to 'svx/source/form/fmexch.cxx')
-rw-r--r-- | svx/source/form/fmexch.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/form/fmexch.cxx b/svx/source/form/fmexch.cxx index fe875b9e5cfc..38e5fbd947cb 100644 --- a/svx/source/form/fmexch.cxx +++ b/svx/source/form/fmexch.cxx @@ -228,8 +228,7 @@ namespace svxform void OControlTransferData::buildListFromPath(const weld::TreeView* pTreeBox, const weld::TreeIter* pRoot) { - ListBoxEntrySet aEmpty; - m_aSelectedEntries.swap( aEmpty ); + ListBoxEntrySet().swap(m_aSelectedEntries); for (const css::uno::Sequence<sal_uInt32>& rPaths : std::as_const(m_aControlPaths)) { |