summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source')
-rw-r--r--svl/source/numbers/numuno.cxx4
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;