diff options
author | Noel Grandin <noelgrandin@collabora.co.uk> | 2022-10-20 09:16:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-10-20 11:04:28 +0200 |
commit | 449117499ed4ce621057c7b6470b5be40d626d4d (patch) | |
tree | 436df3809568cd094b43a4381ddaedcb1cd690bc /vcl/source | |
parent | 2cbf6d5643717e9484ee3a8519ff1689b4c82b24 (diff) |
workaround VisualStudio2022 compile error
only seems to hit with --disable-pch
Change-Id: I20533aa8516bd92a2cef295ce8c3b4e9a0ab72c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141546
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/mnemonic.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/mnemonic.cxx b/vcl/source/window/mnemonic.cxx index 6e4b155c2af5..e4f4cf8cf7cd 100644 --- a/vcl/source/window/mnemonic.cxx +++ b/vcl/source/window/mnemonic.cxx @@ -37,6 +37,9 @@ MnemonicGenerator::MnemonicGenerator(sal_Unicode cMnemonic) memset( maMnemonics, 1, sizeof( maMnemonics ) ); } +MnemonicGenerator& MnemonicGenerator::operator=(MnemonicGenerator const &) = default; //MSVC2022 workaround +MnemonicGenerator::MnemonicGenerator(MnemonicGenerator const&) = default; //MSVC2022 workaround + sal_uInt16 MnemonicGenerator::ImplGetMnemonicIndex( sal_Unicode c ) { static sal_uInt16 const aImplMnemonicRangeTab[MNEMONIC_RANGES*2] = |