summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-16 12:57:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-16 20:18:01 +0100
commitdfe8ec631426bf317209723c956d373ac146058e (patch)
treec5cdc431847c56eb922f5ebfdb272cab021f5b83 /svl
parent9bd827270646be509060ddb92be4eae20b277b91 (diff)
loplugin:referencecasting in stoc..svtools
Change-Id: I806ffb3ab06731c61fe9c58788aabf00a05e980f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110987 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/numfmuno.cxx2
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx
index ba3a9e0cbe0d..45e12f8fab31 100644
--- a/svl/source/numbers/numfmuno.cxx
+++ b/svl/source/numbers/numfmuno.cxx
@@ -137,7 +137,7 @@ void SAL_CALL SvNumberFormatterServiceObj::attachNumberFormatsSupplier( const un
uno::Reference<util::XNumberFormatsSupplier> SAL_CALL SvNumberFormatterServiceObj::getNumberFormatsSupplier()
{
::osl::MutexGuard aGuard( m_aMutex );
- return xSupplier.get();
+ return xSupplier;
}
sal_Int32 SAL_CALL SvNumberFormatterServiceObj::detectNumberFormat( sal_Int32 nKey, const OUString& aString )
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index c5ad78d65106..4a6d8abf4f32 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -782,7 +782,7 @@ OUString PasswordContainer::RequestPasswordFromUser( PasswordRequestMode aRMode,
{
::rtl::Reference< MasterPasswordRequest_Impl > xRequest = new MasterPasswordRequest_Impl( aRMode );
- xHandler->handle( xRequest.get() );
+ xHandler->handle( xRequest );
::rtl::Reference< ucbhelper::InteractionContinuation > xSelection = xRequest->getSelection();