summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-10-31 10:55:13 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-10-31 15:10:05 +0100
commitf1d2442662a1c593c0ed47391156719ffdf9385f (patch)
tree981ca55751c7586938f4fe2d70b3801debf51fa7 /sc/source/ui/inc
parentc8da023efe26efcb166c3525ca73fe62f26e154c (diff)
we always have a ScDocument so pass by reference
Change-Id: Ic82c71ea6d0490d17fcca07afe4f7da9441a5794 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158715 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/docsh.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index a2bbb5454573..eb9a3450ad22 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -403,7 +403,7 @@ public:
static OUString GetDBaseFilterName();
static OUString GetDifFilterName();
static bool HasAutomaticTableName( std::u16string_view rFilter );
- static void LOKCommentNotify(LOKCommentNotificationType nType, const ScDocument* pDocument, const ScAddress& rPos, const ScPostIt* pNote);
+ static void LOKCommentNotify(LOKCommentNotificationType nType, const ScDocument& rDocument, const ScAddress& rPos, const ScPostIt* pNote);
DECL_DLLPRIVATE_LINK( RefreshDBDataHdl, Timer*, void );