diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-09-03 09:58:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-09-03 12:47:10 +0200 |
commit | 2db30aa0206ca3d9d5a665d550820d8fcbcff4b9 (patch) | |
tree | 3c7c424915813a78c05c4d8ddb90aa443e02f96c /cui/source/options/optfltr.cxx | |
parent | da157e5e723cfa329b7f149c37c4c36c1444ca6f (diff) |
-Werror,-Wcompound-token-split-by-space
Between <https://github.com/llvm/llvm-project/commit/
0e00a95b4fad5e72851de012d3a0b2c2d01f8685> "Add new warning for compound
punctuation tokens that are split across macro expansions or split by
whitespace" and <https://github.com/llvm/llvm-project/commit/
0da84535b1e328188efbc1bb697dc7276f9e7d27> "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 <sbergman@redhat.com>
Diffstat (limited to 'cui/source/options/optfltr.cxx')
-rw-r--r-- | cui/source/options/optfltr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/optfltr.cxx b/cui/source/options/optfltr.cxx index 5708f14a3575..aadb46f9520d 100644 --- a/cui/source/options/optfltr.cxx +++ b/cui/source/options/optfltr.cxx @@ -159,8 +159,8 @@ bool OfaMSFilterTabPage2::FillItemSet( SfxItemSet* ) static struct ChkCBoxEntries{ MSFltrPg2_CheckBoxEntries eType; - bool (SvtFilterOptions:: *FnIs)() const; - void (SvtFilterOptions:: *FnSet)( bool bFlag ); + bool (SvtFilterOptions::*FnIs)() const; + void (SvtFilterOptions::*FnSet)( bool bFlag ); } const aChkArr[] = { { MSFltrPg2_CheckBoxEntries::Math, &SvtFilterOptions::IsMathType2Math, &SvtFilterOptions::SetMathType2Math }, @@ -257,7 +257,7 @@ void OfaMSFilterTabPage2::Reset( const SfxItemSet* ) static struct ChkCBoxEntries{ MSFltrPg2_CheckBoxEntries eType; - bool (SvtFilterOptions:: *FnIs)() const; + bool (SvtFilterOptions::*FnIs)() const; } const aChkArr[] = { { MSFltrPg2_CheckBoxEntries::Math, &SvtFilterOptions::IsMathType2Math }, { MSFltrPg2_CheckBoxEntries::Math, &SvtFilterOptions::IsMath2MathType }, |