From 2db30aa0206ca3d9d5a665d550820d8fcbcff4b9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 3 Sep 2020 09:58:27 +0200 Subject: -Werror,-Wcompound-token-split-by-space Between "Add new warning for compound punctuation tokens that are split across macro expansions or split by whitespace" and "Remove -Wcompound-token-split-by-space from -Wall", Clang 12 trunk emitted such "'::' and '*' tokens forming pointer to member type are separated by whitespace" warnings, so just clean those places up for good even if the warning would not hit out of the box with any official Clang release. Change-Id: Ic58c0da4b3dcce428f5aaa54e13d15299394cf9e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101987 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- i18npool/source/search/textsearch.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i18npool') diff --git a/i18npool/source/search/textsearch.hxx b/i18npool/source/search/textsearch.hxx index aa4c8f522f86..80bcf3ca960d 100644 --- a/i18npool/source/search/textsearch.hxx +++ b/i18npool/source/search/textsearch.hxx @@ -62,7 +62,7 @@ class TextSearch: public cppu::WeakImplHelper // define a function pointer for the different search methods typedef css::util::SearchResult - (SAL_CALL TextSearch:: *FnSrch)( const OUString& searchStr, + (SAL_CALL TextSearch::*FnSrch)( const OUString& searchStr, sal_Int32 startPos, sal_Int32 endPos ); FnSrch fnForward; -- cgit v1.2.3