sc/inc/global.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4eb2718367ade73bde438db56cfa9b82341a17f6 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sun Jul 21 14:35:31 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sun Jul 21 20:49:08 2024 +0200 GetEmptyBrushItem is used readonly Change-Id: I7994e48ffdedeaf99d8422c02d235e89ebf10366 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170815 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx index 1b512b6a7987..f2b94c4d90f4 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -605,7 +605,7 @@ public: SC_DLLPUBLIC static void Clear(); // at the end of the program static void InitTextHeight(SfxItemPool& rPool); - static SvxBrushItem* GetEmptyBrushItem() { return xEmptyBrushItem.get(); } + static const SvxBrushItem* GetEmptyBrushItem() { return xEmptyBrushItem.get(); } static SvxBrushItem* GetButtonBrushItem(); static bool HasStarCalcFunctionList();