diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-29 10:21:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-29 10:47:08 +0100 |
commit | 5e4d88a27802848ae23874a81592c2a6758d77e1 (patch) | |
tree | 8c96909d974988c5be0da730a0b02d6b2d87e69c /sc/inc/table.hxx | |
parent | e7bd86b399e549ef51397e3ae46947d78852e9cc (diff) |
pass ScConditionalFormat around by unique_ptr
Change-Id: If15ac08d8334a386312870d3ebebb385cf55e5f6
Reviewed-on: https://gerrit.libreoffice.org/67050
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r-- | sc/inc/table.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index d853c4072de1..38ea573ba120 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -979,7 +979,7 @@ public: void DeleteConditionalFormat(sal_uLong nOldIndex); - sal_uLong AddCondFormat( ScConditionalFormat* pNew ); + sal_uLong AddCondFormat( std::unique_ptr<ScConditionalFormat> pNew ); SvtScriptType GetScriptType( SCCOL nCol, SCROW nRow ) const; void SetScriptType( SCCOL nCol, SCROW nRow, SvtScriptType nType ); |