From 449117499ed4ce621057c7b6470b5be40d626d4d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 20 Oct 2022 09:16:31 +0200 Subject: 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 --- include/vcl/mnemonic.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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(); -- cgit