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 /include | |
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 'include')
-rw-r--r-- | include/vcl/mnemonic.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/mnemonic.hxx b/include/vcl/mnemonic.hxx index b730311481dd..2a14415033e3 100644 --- a/include/vcl/mnemonic.hxx +++ b/include/vcl/mnemonic.hxx @@ -64,6 +64,9 @@ class VCL_DLLPUBLIC MnemonicGenerator public: MnemonicGenerator(sal_Unicode cMnemonic = MNEMONIC_CHAR); + MnemonicGenerator& operator=(MnemonicGenerator const &); //MSVC2022 workaround + MnemonicGenerator(MnemonicGenerator const&); //MSVC2022 workaround + void RegisterMnemonic( const OUString& rKey ); [[nodiscard]] OUString CreateMnemonic(const OUString& rKey); css::uno::Reference< css::i18n::XCharacterClassification > const & GetCharClass(); |