diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 16:52:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 20:56:26 +0000 |
commit | 924b2923b8b1515a4c37079e72a2a9cc6010a4f4 (patch) | |
tree | 111cf075f4085a9d1b4f1a69e7d5cbcaff57133c /svl/source | |
parent | b926671283837ccf4ee1b283ff4fb286e29cedfd (diff) |
V801: Decreased performance
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/numbers/numuno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/numuno.cxx b/svl/source/numbers/numuno.cxx index 931e5718c62a..0ad66dcdb485 100644 --- a/svl/source/numbers/numuno.cxx +++ b/svl/source/numbers/numuno.cxx @@ -125,10 +125,10 @@ const uno::Sequence<sal_Int8>& SvNumberFormatsSupplierObj::getUnoTunnelId() // static SvNumberFormatsSupplierObj* SvNumberFormatsSupplierObj::getImplementation( - const uno::Reference<util::XNumberFormatsSupplier> xObj ) + const uno::Reference<util::XNumberFormatsSupplier>& rObj ) { SvNumberFormatsSupplierObj* pRet = NULL; - uno::Reference<lang::XUnoTunnel> xUT( xObj, uno::UNO_QUERY ); + uno::Reference<lang::XUnoTunnel> xUT(rObj, uno::UNO_QUERY); if (xUT.is()) pRet = reinterpret_cast<SvNumberFormatsSupplierObj*>(sal::static_int_cast<sal_IntPtr>(xUT->getSomething( getUnoTunnelId() ))); return pRet; |