diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-11 16:50:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-12 08:56:48 +0200 |
commit | c6d3e81669124caff72f32ec901f96f8303c069e (patch) | |
tree | 0e29d3476ac3dd651b9008e329372db035225502 /sc/inc/global.hxx | |
parent | aa5da4850b0024e521aaf9d3324c2e755c5f65d4 (diff) |
use unique_ptr for ScFunctionList
Change-Id: Ic198c36e1a39d8c56c9720d3d5a945d3415f06d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100536
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/global.hxx')
-rw-r--r-- | sc/inc/global.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx index adf294cdeaba..44b35c003fc1 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -514,7 +514,7 @@ class ScGlobal static std::unique_ptr<SvxBrushItem> xButtonBrushItem; static std::unique_ptr<SvxBrushItem> xEmbeddedBrushItem; - static ScFunctionList* pStarCalcFunctionList; + static std::unique_ptr<ScFunctionList> xStarCalcFunctionList; static std::unique_ptr<ScFunctionMgr> xStarCalcFunctionMgr; static std::atomic<ScUnitConverter*> pUnitConverter; |