summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-01-06 10:12:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-01-06 14:14:59 +0100
commit2ea32dcffd41c985cb33f107fda16d2eafcece14 (patch)
treecfb3e7cabea9f8e74c3f0b4ab4742087215b8d99
parenteceab3dd56f6f19e5de5e35590cf3aa7653cc85e (diff)
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 <sbergman@redhat.com>
-rw-r--r--cli_ure/source/uno_bridge/cli_bridge.cxx2
1 files changed, 1 insertions, 1 deletions
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<Mapping*>(&m_cli2uno);
uno_registerMapping(
- & const_cast<uno_Mapping*>(mapping), Bridge_free, m_uno_cli_env, (uno_Environment *)m_uno_env, 0 );
+ const_cast<uno_Mapping**>(&mapping), Bridge_free, m_uno_cli_env, (uno_Environment *)m_uno_env, 0 );
}
else
{