summaryrefslogtreecommitdiff
path: root/include/sfx2/lokcallback.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-10-21 12:20:52 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-10-22 15:53:34 +0200
commit31b1e23e2d806f847fce21b8827f015384f20916 (patch)
tree51e703c3098cfa9e1540b7641493866bb95eb80b /include/sfx2/lokcallback.hxx
parenta21c6a3dd36aee21bf1536183dc8ccde2ff52672 (diff)
better name for a function overload
It's better to add to the name what the overload does rather than just have a "mysterious" extra int. Change-Id: Iff89679c4a978a4596ac662ef74e934cdefefc9e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124001 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include/sfx2/lokcallback.hxx')
-rw-r--r--include/sfx2/lokcallback.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sfx2/lokcallback.hxx b/include/sfx2/lokcallback.hxx
index 4c40c5452c15..d01e7203205e 100644
--- a/include/sfx2/lokcallback.hxx
+++ b/include/sfx2/lokcallback.hxx
@@ -30,7 +30,8 @@ public:
// LibreOfficeKitCallback equivalent.
virtual void libreOfficeKitViewCallback(int nType, const char* pPayload) = 0;
// Callback that explicitly provides view id (which is also included in the payload).
- virtual void libreOfficeKitViewCallback(int nType, const char* pPayload, int nViewId) = 0;
+ virtual void libreOfficeKitViewCallbackWithViewId(int nType, const char* pPayload, int nViewId)
+ = 0;
// LOK_CALLBACK_INVALIDATE_TILES
// nPart is either part, -1 for all-parts, or INT_MIN if
// comphelper::LibreOfficeKit::isPartInInvalidation() is not set