summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-01-25 20:25:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-01-25 20:21:48 +0100
commit1aa31294b2d3fb562ba33d5d873da62439944f07 (patch)
tree79a604d51b0c54768c07ed8c4643cf43b29d8fca /basctl
parent2dbc9266ec2207c2719c0104168cfcad9f6948da (diff)
avoid some ref-counting
can just return a pointer here, instead of VclPtr. Change-Id: I9ab8962cbbe84ed4dfcfd658a6d758112914cb89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109923 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/accessibility/accessibledialogcontrolshape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/accessibility/accessibledialogcontrolshape.cxx b/basctl/source/accessibility/accessibledialogcontrolshape.cxx
index b48eb53a0d1a..949c8fa86c69 100644
--- a/basctl/source/accessibility/accessibledialogcontrolshape.cxx
+++ b/basctl/source/accessibility/accessibledialogcontrolshape.cxx
@@ -171,7 +171,7 @@ vcl::Window* AccessibleDialogControlShape::GetWindow() const
{
Reference< awt::XControl > xControl = m_pDlgEdObj->GetControl();
if ( xControl.is() )
- pWindow = VCLUnoHelper::GetWindow( xControl->getPeer() ).get();
+ pWindow = VCLUnoHelper::GetWindow( xControl->getPeer() );
}
return pWindow;