summaryrefslogtreecommitdiff
path: root/forms/source/component/Grid.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/Grid.cxx')
-rw-r--r--forms/source/component/Grid.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx
index 724c5a4a240b..6040549af736 100644
--- a/forms/source/component/Grid.cxx
+++ b/forms/source/component/Grid.cxx
@@ -284,7 +284,7 @@ sal_Bool SAL_CALL OGridControlModel::select(const Any& rElement)
}
if ( xSel != m_xSelection )
{
- m_xSelection = xSel;
+ m_xSelection = std::move(xSel);
aGuard.clear();
m_aSelectListeners.notifyEach( &XSelectionChangeListener::selectionChanged, EventObject( *this ) );
return true;