diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-02-11 16:15:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-18 13:45:03 +0100 |
commit | 1ad26c9fc237e00247f18fcc8ccc778fba88d1fd (patch) | |
tree | 0df230e3bfb929be219e5ef2f8d1574a83a6c959 /vcl/unx/generic/dtrans | |
parent | 653e9627828adafc833fd179cea495f4b6e409ce (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/unx/generic/dtrans')
-rw-r--r-- | vcl/unx/generic/dtrans/X11_clipboard.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/dtrans/X11_clipboard.cxx b/vcl/unx/generic/dtrans/X11_clipboard.cxx index 17104ca75eca..b42f0f5bc828 100644 --- a/vcl/unx/generic/dtrans/X11_clipboard.cxx +++ b/vcl/unx/generic/dtrans/X11_clipboard.cxx @@ -66,7 +66,7 @@ X11Clipboard::create( SelectionManager& rManager, Atom aSelection ) rManager.registerHandler(XA_PRIMARY, *cb); rManager.registerHandler(rManager.getAtom("CLIPBOARD"), *cb); } - return cb.get(); + return cb; } X11Clipboard::~X11Clipboard() |