summaryrefslogtreecommitdiff
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-29 10:21:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-29 10:47:08 +0100
commit5e4d88a27802848ae23874a81592c2a6758d77e1 (patch)
tree8c96909d974988c5be0da730a0b02d6b2d87e69c /sc/inc/document.hxx
parente7bd86b399e549ef51397e3ae46947d78852e9cc (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/document.hxx')
-rw-r--r--sc/inc/document.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 4e19792f2a2e..bed8003de16c 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1719,7 +1719,7 @@ public:
void ClearSelectionItems( const sal_uInt16* pWhich, const ScMarkData& rMark );
void ChangeSelectionIndent( bool bIncrement, const ScMarkData& rMark );
- SC_DLLPUBLIC sal_uLong AddCondFormat( ScConditionalFormat* pNew, SCTAB nTab );
+ SC_DLLPUBLIC sal_uLong AddCondFormat( std::unique_ptr<ScConditionalFormat> pNew, SCTAB nTab );
void DeleteConditionalFormat( sal_uLong nIndex, SCTAB nTab );
void SetCondFormList( ScConditionalFormatList* pList, SCTAB nTab );