summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ucbhelper/interactionrequest.hxx2
-rw-r--r--ucbhelper/source/provider/interactionrequest.cxx3
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;