Kaydet (Commit) 299d938b authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:passstuffbyref in jvmaccess

Change-Id: I0c5daabe31393db08654dd9f22abc757f6c67d4c
üst 86d20ae1
...@@ -74,7 +74,7 @@ public: ...@@ -74,7 +74,7 @@ public:
@return @return
The Java virtual machine wrapper. Will never be null. The Java virtual machine wrapper. Will never be null.
*/ */
rtl::Reference< jvmaccess::VirtualMachine > getVirtualMachine() const; const rtl::Reference< jvmaccess::VirtualMachine >& getVirtualMachine() const;
/** Get the UNO class loader. /** Get the UNO class loader.
......
...@@ -57,7 +57,7 @@ UnoVirtualMachine::UnoVirtualMachine( ...@@ -57,7 +57,7 @@ UnoVirtualMachine::UnoVirtualMachine(
} }
} }
rtl::Reference< jvmaccess::VirtualMachine > const rtl::Reference< jvmaccess::VirtualMachine >&
UnoVirtualMachine::getVirtualMachine() const { UnoVirtualMachine::getVirtualMachine() const {
return m_virtualMachine; return m_virtualMachine;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment