diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-20 21:28:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-20 21:28:31 +0900 |
commit | 56ddbe04dc445c012c568083202ce433c1da7026 (patch) | |
tree | 63e1ff606dbdd9479d573604d67eecd52bb7a179 /lib/kformula/kformulacommand.h | |
parent | c0332621bc998c9786f4841e86a62b7711fe4abf (diff) | |
download | koffice-56ddbe04dc445c012c568083202ce433c1da7026.tar.gz koffice-56ddbe04dc445c012c568083202ce433c1da7026.zip |
Replace auto_ptr
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kformula/kformulacommand.h')
-rw-r--r-- | lib/kformula/kformulacommand.h | 4 |
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(); |