diff options
Diffstat (limited to 'lib/kformula/kformulacommand.cpp')
-rw-r--r-- | lib/kformula/kformulacommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kformula/kformulacommand.cpp b/lib/kformula/kformulacommand.cpp index 4aa31161..24ae790f 100644 --- a/lib/kformula/kformulacommand.cpp +++ b/lib/kformula/kformulacommand.cpp @@ -458,8 +458,8 @@ void KFCAddReplacing::unexecute() // ****** Add index command -KFCAddGenericIndex::KFCAddGenericIndex(Container* document, ElementIndexPtr _index) - : KFCAdd(i18n("Add Index"), document), index(_index) +KFCAddGenericIndex::KFCAddGenericIndex(Container* document, ElementIndexPtr &_index) + : KFCAdd(i18n("Add Index"), document), index(std::move(_index)) { addElement(new SequenceElement()); } |