diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-10-21 12:20:52 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-10-22 15:54:31 +0200 |
commit | 27df307ce26106c2574b0521346f615a406841bc (patch) | |
tree | 374f2d0df9abe0784f2ecdbccd6dc63b92138b3b /desktop | |
parent | 5a2f4971c8e3f7c6b2caaad353ec1c2593499692 (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/+/124005
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/inc/lib/init.hxx | 2 | ||||
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx index 0c9bddea9e45..c43e82fdd430 100644 --- a/desktop/inc/lib/init.hxx +++ b/desktop/inc/lib/init.hxx @@ -101,7 +101,7 @@ namespace desktop { // SfxLockCallbackInterface virtual void libreOfficeKitViewCallback(int nType, const char* pPayload) override; - virtual void libreOfficeKitViewCallback(int nType, const char* pPayload, int nViewId) override; + virtual void libreOfficeKitViewCallbackWithViewId(int nType, const char* pPayload, int nViewId) override; virtual void libreOfficeKitViewInvalidateTilesCallback(const tools::Rectangle* pRect, int nPart) override; private: diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 9216b12b213c..9e1eeb78d184 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1467,7 +1467,7 @@ void CallbackFlushHandler::libreOfficeKitViewCallback(int nType, const char* pPa queue(nType, callbackData); } -void CallbackFlushHandler::libreOfficeKitViewCallback(int nType, const char* pPayload, int nViewId) +void CallbackFlushHandler::libreOfficeKitViewCallbackWithViewId(int nType, const char* pPayload, int nViewId) { CallbackData callbackData(pPayload, nViewId); queue(nType, callbackData); |