summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/Accessibility/AccessiblePreviewCell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
index c420bbbfa0cd..f3bc3e717805 100644
--- a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
@@ -271,7 +271,7 @@ void ScAccessiblePreviewCell::CreateTextHelper()
// paragraphs in preview are transient
::accessibility::AccessibleTextHelper::VectorOfStates aChildStates;
aChildStates.push_back( AccessibleStateType::TRANSIENT );
- mpTextHelper->SetAdditionalChildStates( aChildStates );
+ mpTextHelper->SetAdditionalChildStates( std::move(aChildStates) );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */