summaryrefslogtreecommitdiff
path: root/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx')
-rw-r--r--bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx b/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx
index e4ee7800a385..dad1ad8f7ac6 100644
--- a/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx
+++ b/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx
@@ -20,6 +20,7 @@
#include <cppinterfaceproxy.hxx>
#include <bridge.hxx>
+#include <utility>
#include <vtablefactory.hxx>
#include <com/sun/star/uno/XInterface.hpp>
@@ -102,12 +103,12 @@ void CppInterfaceProxy::releaseProxy()
CppInterfaceProxy::CppInterfaceProxy(
bridges::cpp_uno::shared::Bridge * pBridge_, uno_Interface * pUnoI_,
- typelib_InterfaceTypeDescription * pTypeDescr_, OUString const & rOId_)
+ typelib_InterfaceTypeDescription * pTypeDescr_, OUString aOId_)
: nRef( 1 )
, pBridge( pBridge_ )
, pUnoI( pUnoI_ )
, pTypeDescr( pTypeDescr_ )
- , oid( rOId_ )
+ , oid(std::move( aOId_ ))
{
pBridge->acquire();
::typelib_typedescription_acquire( &pTypeDescr->aBase );