summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/condformat/condformatdlgitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/condformat/condformatdlgitem.cxx')
-rw-r--r--sc/source/ui/condformat/condformatdlgitem.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/condformat/condformatdlgitem.cxx b/sc/source/ui/condformat/condformatdlgitem.cxx
index dc038c806ba5..0bd3fcc99d72 100644
--- a/sc/source/ui/condformat/condformatdlgitem.cxx
+++ b/sc/source/ui/condformat/condformatdlgitem.cxx
@@ -8,13 +8,15 @@
*/
+#include <utility>
+
#include "scitems.hxx"
#include "condformatdlgitem.hxx"
ScCondFormatDlgItem::ScCondFormatDlgItem(std::shared_ptr<ScConditionalFormatList> pCondFormats,
sal_Int32 nItem, bool bManaged):
SfxPoolItem(SCITEM_CONDFORMATDLGDATA),
- mpCondFormats(pCondFormats),
+ mpCondFormats(std::move(pCondFormats)),
mnItem(nItem),
meDialogType(condformat::dialog::CONDITION),
mbManaged(bManaged)