diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-06-16 14:24:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-16 20:39:05 +0200 |
commit | 7eae7e54e0c55d5896cf807c339fd0789f54d380 (patch) | |
tree | 3b883cd6e91c4d82ba07425a4b1e60c18490ee81 /sc/inc/cellvalue.hxx | |
parent | 0fe3459b05502bc62814dc1f90059653f52046f8 (diff) |
pass EditTextObject by unique_ptr
to make the ownership passing obvious
Change-Id: Icf4b94a422b91da3082fe1ce56eff149d390a649
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136000
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/cellvalue.hxx')
-rw-r--r-- | sc/inc/cellvalue.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/cellvalue.hxx b/sc/inc/cellvalue.hxx index 5876f9584a4f..942cf006cab5 100644 --- a/sc/inc/cellvalue.hxx +++ b/sc/inc/cellvalue.hxx @@ -58,7 +58,7 @@ public: void set( double fValue ); void set( const svl::SharedString& rStr ); void set( const EditTextObject& rEditText ); - void set( EditTextObject* pEditText ); + void set( std::unique_ptr<EditTextObject> ); void set( ScFormulaCell* pFormula ); CellType getType() const { return meType; } |