From 31b1e23e2d806f847fce21b8827f015384f20916 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Thu, 21 Oct 2021 12:20:52 +0200 Subject: better name for a function overload MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- test/source/lokcallback.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 } -- cgit