summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-11 16:15:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-18 13:45:03 +0100
commit1ad26c9fc237e00247f18fcc8ccc778fba88d1fd (patch)
tree0df230e3bfb929be219e5ef2f8d1574a83a6c959 /vcl/source/app
parent653e9627828adafc833fd179cea495f4b6e409ce (diff)
loplugin:referencecasting add check for new rtl::Reference operator
rtl::Reference now has a conversion operator to uno::Reference, so look for places where we can simplify the code and use that. Change-Id: Ic81db50d670bed5e875300577d4bf5f3599cc2c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110798 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/svapp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index aa3dbb0a18b3..0c1a0f67cdf0 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1518,7 +1518,7 @@ css::uno::Reference< css::awt::XDisplayConnection > Application::GetDisplayConne
pSVData->mxDisplayConnection->start();
}
- return pSVData->mxDisplayConnection.get();
+ return pSVData->mxDisplayConnection;
}
void Application::SetFilterHdl( const Link<ConvertData&,bool>& rLink )