loplugin:passstuffbyref in jvmaccess

Change-Id: I0c5daabe31393db08654dd9f22abc757f6c67d4c
This commit is contained in:
Noel Grandin
2016-04-13 13:27:52 +02:00
parent 86d20ae1e5
commit 299d938bf0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ public:
@return
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.
+1 -1
View File
@@ -57,7 +57,7 @@ UnoVirtualMachine::UnoVirtualMachine(
}
}
rtl::Reference< jvmaccess::VirtualMachine >
const rtl::Reference< jvmaccess::VirtualMachine >&
UnoVirtualMachine::getVirtualMachine() const {
return m_virtualMachine;
}