summaryrefslogtreecommitdiff
path: root/vcl/source/window/mnemonic.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@collabora.co.uk>2022-10-20 09:16:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-10-20 11:04:28 +0200
commit449117499ed4ce621057c7b6470b5be40d626d4d (patch)
tree436df3809568cd094b43a4381ddaedcb1cd690bc /vcl/source/window/mnemonic.cxx
parent2cbf6d5643717e9484ee3a8519ff1689b4c82b24 (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/window/mnemonic.cxx')
-rw-r--r--vcl/source/window/mnemonic.cxx3
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] =