From 2ea32dcffd41c985cb33f107fda16d2eafcece14 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 6 Jan 2021 10:12:27 +0100 Subject: Fix MSVC 2019 16.8.3 --with-latest-c++ error C2102: '&' requires l-value Change-Id: Iff1db722239c32822bbc23ddd13e2df105a993e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108837 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- cli_ure/source/uno_bridge/cli_bridge.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli_ure') diff --git a/cli_ure/source/uno_bridge/cli_bridge.cxx b/cli_ure/source/uno_bridge/cli_bridge.cxx index 00d2747cac8c..d9b4cdd0bda4 100644 --- a/cli_ure/source/uno_bridge/cli_bridge.cxx +++ b/cli_ure/source/uno_bridge/cli_bridge.cxx @@ -174,7 +174,7 @@ void Bridge::acquire() const { uno_Mapping * mapping = const_cast(&m_cli2uno); uno_registerMapping( - & const_cast(mapping), Bridge_free, m_uno_cli_env, (uno_Environment *)m_uno_env, 0 ); + const_cast(&mapping), Bridge_free, m_uno_cli_env, (uno_Environment *)m_uno_env, 0 ); } else { -- cgit