summaryrefslogtreecommitdiff
path: root/vcl/source/control/ivctrl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2023-03-31 19:15:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-04-01 14:42:17 +0200
commitbfdf5d290be3fccb631d50cfea52fbe43fff4dce (patch)
tree7b89956506092aa6ee68cc559a83b158170439e6 /vcl/source/control/ivctrl.cxx
parentcd013e66711c056c52ffd0839e782f6ee9c2dabd (diff)
use more XVclWindowPeer
Rather than using it's superclass XWindowPeer and implicitly relying on it being XVclWindowPeer and casting it everywhere. Change-Id: Icfb46f3b920d00f4a167a31803a71bbb0368d05c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149894 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/ivctrl.cxx')
-rw-r--r--vcl/source/control/ivctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/ivctrl.cxx b/vcl/source/control/ivctrl.cxx
index b344e270572e..baf2dcd3e270 100644
--- a/vcl/source/control/ivctrl.cxx
+++ b/vcl/source/control/ivctrl.cxx
@@ -421,7 +421,7 @@ css::uno::Reference< XAccessible > SvtIconChoiceCtrl::CreateAccessible()
css::uno::Reference< XAccessible > xAccParent = pParent->GetAccessible();
if ( xAccParent.is() )
{
- css::uno::Reference< css::awt::XWindowPeer > xHoldAlive(GetComponentInterface());
+ css::uno::Reference< css::awt::XVclWindowPeer > xHoldAlive(GetComponentInterface());
xAccessible = _pImpl->GetAccessibleFactory().createAccessibleIconChoiceCtrl( *this, xAccParent );
}
}