diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 13:33:32 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:39 +0200 |
commit | 828ed49a24018a30f03ce1c6f0b79f7068ba2bb2 (patch) | |
tree | 2f3e238ad00a6b9fe5479d06df0814696ea5e520 | |
parent | c6075095ddc40fbaee1cc8a34b22ba3092db6810 (diff) |
loplugin:passstuffbyref in ucbhelper
Change-Id: I680e4ca0d20d5ddabdc875a1d6bec27322956f5e
-rw-r--r-- | include/ucbhelper/interactionrequest.hxx | 2 | ||||
-rw-r--r-- | ucbhelper/source/provider/interactionrequest.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/ucbhelper/interactionrequest.hxx b/include/ucbhelper/interactionrequest.hxx index 08df5d700b85..c3dbf8fc9035 100644 --- a/include/ucbhelper/interactionrequest.hxx +++ b/include/ucbhelper/interactionrequest.hxx @@ -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); diff --git a/ucbhelper/source/provider/interactionrequest.cxx b/ucbhelper/source/provider/interactionrequest.cxx index 5df31a75c0aa..38c661b9bf94 100644 --- a/ucbhelper/source/provider/interactionrequest.cxx +++ b/ucbhelper/source/provider/interactionrequest.cxx @@ -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; |