diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-02-18 15:40:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-02-18 19:01:33 +0100 |
commit | 9ece0ae7e1b07d61274c975cbc1cd55966a89013 (patch) | |
tree | 10d19325f623f9f5e5e918e28d345d0f4100e0b6 /avmedia | |
parent | 4adf4e0a5518f6895ca188c7b03ac430a53571e8 (diff) |
loplugin:referencecasting (macOS)
Change-Id: I99470067a34fab9fbc2ea53d2f8a634240f0d223
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111127
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/macavf/manager.mm | 2 | ||||
-rw-r--r-- | avmedia/source/macavf/player.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/macavf/manager.mm b/avmedia/source/macavf/manager.mm index 44768b54c4e3..d240bb27a8d1 100644 --- a/avmedia/source/macavf/manager.mm +++ b/avmedia/source/macavf/manager.mm @@ -44,7 +44,7 @@ uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const OUString& if( !xPlayer->create( aURL.GetMainURL( INetURLObject::DecodeMechanism::Unambiguous ) ) ) return {}; - return uno::Reference<media::XPlayer>(xPlayer.get()); + return uno::Reference<media::XPlayer>(xPlayer); } diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm index 7fdc58247f50..401cba74c2d2 100644 --- a/avmedia/source/macavf/player.mm +++ b/avmedia/source/macavf/player.mm @@ -333,7 +333,7 @@ uno::Reference< media::XFrameGrabber > SAL_CALL Player::createFrameGrabber() if( !pGrabber->create( pMovie ) ) return {}; - return pGrabber.get(); + return pGrabber; } |