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 /extensions | |
parent | b926671283837ccf4ee1b283ff4fb286e29cedfd (diff) |
V801: Decreased performance
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/check/updatehdl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx index 6bc0b3ad3df7..9e69e8226e89 100644 --- a/extensions/source/update/check/updatehdl.cxx +++ b/extensions/source/update/check/updatehdl.cxx @@ -606,7 +606,7 @@ void UpdateHandler::updateState( UpdateState eState ) } -OUString UpdateHandler::loadString( const uno::Reference< resource::XResourceBundle > xBundle, +OUString UpdateHandler::loadString( const uno::Reference< resource::XResourceBundle >& rBundle, sal_Int32 nResourceId ) const { OUString sString; @@ -614,7 +614,7 @@ OUString UpdateHandler::loadString( const uno::Reference< resource::XResourceBun try { - OSL_VERIFY( xBundle->getByName( sKey ) >>= sString ); + OSL_VERIFY( rBundle->getByName( sKey ) >>= sString ); } catch( const uno::Exception& ) { |