diff options
Diffstat (limited to 'svl/source/passwordcontainer')
-rw-r--r-- | svl/source/passwordcontainer/passwordcontainer.cxx | 8 | ||||
-rw-r--r-- | svl/source/passwordcontainer/passwordcontainer.hxx | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index 51fb129cddb1..893c7eb96ef8 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -659,7 +659,7 @@ void PasswordContainer::PrivateAdd( const OUString& Url, const OUString& UserNam UrlRecord SAL_CALL PasswordContainer::find( const OUString& aURL, const Reference< XInteractionHandler >& aHandler ) { - return find( aURL, OUString(), false, aHandler ); + return find( aURL, u"", false, aHandler ); } @@ -669,7 +669,7 @@ UrlRecord SAL_CALL PasswordContainer::findForName( const OUString& aURL, const O } -Sequence< UserRecord > PasswordContainer::FindUsr( const std::vector< NamePassRecord >& userlist, const OUString& aName, const Reference< XInteractionHandler >& aHandler ) +Sequence< UserRecord > PasswordContainer::FindUsr( const std::vector< NamePassRecord >& userlist, std::u16string_view aName, const Reference< XInteractionHandler >& aHandler ) { sal_uInt32 nInd = 0; for (auto const& aNPIter : userlist) @@ -692,7 +692,7 @@ Sequence< UserRecord > PasswordContainer::FindUsr( const std::vector< NamePassRe bool PasswordContainer::createUrlRecord( const PassMap::iterator & rIter, bool bName, - const OUString & aName, + std::u16string_view aName, const Reference< XInteractionHandler >& aHandler, UrlRecord & rRec ) { @@ -719,7 +719,7 @@ bool PasswordContainer::createUrlRecord( UrlRecord PasswordContainer::find( const OUString& aURL, - const OUString& aName, + std::u16string_view aName, bool bName, // only needed to support empty user names const Reference< XInteractionHandler >& aHandler ) { diff --git a/svl/source/passwordcontainer/passwordcontainer.hxx b/svl/source/passwordcontainer/passwordcontainer.hxx index 46ffec888602..937a2be66975 100644 --- a/svl/source/passwordcontainer/passwordcontainer.hxx +++ b/svl/source/passwordcontainer/passwordcontainer.hxx @@ -231,20 +231,20 @@ private: /// @throws css::uno::RuntimeException css::uno::Sequence< css::task::UserRecord > FindUsr( const ::std::vector< NamePassRecord >& userlist, - const OUString& name, + std::u16string_view name, const css::uno::Reference< css::task::XInteractionHandler >& Handler ); /// @throws css::uno::RuntimeException bool createUrlRecord( const PassMap::iterator & rIter, bool bName, - const OUString & aName, + std::u16string_view aName, const css::uno::Reference< css::task::XInteractionHandler >& aHandler, css::task::UrlRecord & rRec ); /// @throws css::uno::RuntimeException css::task::UrlRecord find( const OUString& aURL, - const OUString& aName, + std::u16string_view aName, bool bName, // only needed to support empty user names const css::uno::Reference< css::task::XInteractionHandler >& aHandler ); |