summaryrefslogtreecommitdiff
path: root/test/source
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 /test/source
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 'test/source')
-rw-r--r--test/source/lokcallback.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/lokcallback.cxx b/test/source/lokcallback.cxx
index 912fe2d8c807..389219192a50 100644
--- a/test/source/lokcallback.cxx
+++ b/test/source/lokcallback.cxx
@@ -30,8 +30,8 @@ void TestLokCallbackWrapper::libreOfficeKitViewCallback(int nType, const char* p
callCallback(nType, pPayload);
}
-void TestLokCallbackWrapper::libreOfficeKitViewCallback(int nType, const char* pPayload,
- int /*nViewId*/)
+void TestLokCallbackWrapper::libreOfficeKitViewCallbackWithViewId(int nType, const char* pPayload,
+ int /*nViewId*/)
{
callCallback(nType, pPayload); // the view id is also included in payload
}