loplugin:passstuffbyref in ucbhelper

Change-Id: I680e4ca0d20d5ddabdc875a1d6bec27322956f5e
This commit is contained in:
Noel Grandin 2016-04-13 13:33:32 +02:00
parent c6075095dd
commit 828ed49a24
2 changed files with 2 additions and 3 deletions

View file

@ -647,7 +647,7 @@ public:
// XAuthFallback
virtual void SAL_CALL setCode( const OUString& code )
throw (::css::uno::RuntimeException, ::std::exception) override;
OUString SAL_CALL getCode()
const OUString& SAL_CALL getCode()
throw (::css::uno::RuntimeException, ::std::exception);

View file

@ -901,8 +901,7 @@ void SAL_CALL InteractionAuthFallback::setCode( const OUString& code )
m_aCode = code;
}
// virtual
OUString SAL_CALL InteractionAuthFallback::getCode( )
const OUString& SAL_CALL InteractionAuthFallback::getCode( )
throw ( uno::RuntimeException, std::exception )
{
return m_aCode;