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-22 19:46:56 +0900 |
| commit | cf1bb69b2973368b5ac0d7d347a7fa7b8dfa43a1 (patch) | |
| tree | 6856cf364ad267dc15815e8d5a6e080822296d38 /lib/kformula/kformulacommand.h | |
| parent | e1b37ac1936f81994a2c1aa2778298fbc757531f (diff) | |
| download | koffice-cf1bb69b.tar.gz koffice-cf1bb69b.zip | |
Replace auto_ptr
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 56ddbe04dc445c012c568083202ce433c1da7026)
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 bc1703bef..75a47da33 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(); |
