[Libreoffice-commits] core.git: cli_ure/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Jan 6 13:15:39 UTC 2021


 cli_ure/source/uno_bridge/cli_bridge.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2ea32dcffd41c985cb33f107fda16d2eafcece14
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jan 6 10:12:27 2021 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jan 6 14:14:59 2021 +0100

    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 at redhat.com>

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
         {


More information about the Libreoffice-commits mailing list