summaryrefslogtreecommitdiffstats
path: root/lib/kformula/kformulacommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/kformulacommand.h')
-rw-r--r--lib/kformula/kformulacommand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/kformula/kformulacommand.h b/lib/kformula/kformulacommand.h
index bc1703be..75a47da3 100644
--- a/lib/kformula/kformulacommand.h
+++ b/lib/kformula/kformulacommand.h
@@ -435,7 +435,9 @@ class KFCAddGenericIndex : public KFCAdd
{
public:
- KFCAddGenericIndex(Container* document, ElementIndexPtr index);
+ KFCAddGenericIndex(Container* document, ElementIndexPtr &index);
+ KFCAddGenericIndex(KFCAddGenericIndex const &) = delete;
+ KFCAddGenericIndex& operator=(KFCAddGenericIndex const &) = delete;
virtual void execute();