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>
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user