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

New commits:
commit 2ea32dcffd41c985cb33f107fda16d2eafcece14
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Wed Jan 6 10:12:27 2021 +0100
Commit:     Stephan Bergmann <[email protected]>
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 <[email protected]>

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
         {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to