summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-16 13:00:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-17 09:54:36 +0200
commitaaa44dc0b07262d2fcae8f6136566baa6c8c169d (patch)
treec9aaf5f00bdb815fa10363120725bc1f7bf9eb1f /svx
parentf90a48046331eaa1ca60c5298ccdbaf0738077aa (diff)
recipients just need OutputDevices
Change-Id: Ia4b2fae44a873323444faf558d831b31635a8ee1 Reviewed-on: https://gerrit.libreoffice.org/72411 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/AccessibleControlShape.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx
index e570bcb68bce..4721672ee00e 100644
--- a/svx/source/accessibility/AccessibleControlShape.cxx
+++ b/svx/source/accessibility/AccessibleControlShape.cxx
@@ -146,7 +146,7 @@ AccessibleControlShape::~AccessibleControlShape()
}
namespace {
- Reference< XContainer > lcl_getControlContainer( const vcl::Window* _pWin, const SdrView* _pView )
+ Reference< XContainer > lcl_getControlContainer( const OutputDevice* _pWin, const SdrView* _pView )
{
Reference< XContainer > xReturn;
DBG_ASSERT( _pView, "lcl_getControlContainer: invalid view!" );
@@ -189,7 +189,7 @@ void AccessibleControlShape::Init()
// I'm aware of at the moment .....
// get the control which belongs to our model (relative to our view)
- const vcl::Window* pViewWindow = maShapeTreeInfo.GetWindow();
+ const OutputDevice* pViewWindow = maShapeTreeInfo.GetWindow();
SdrUnoObj* pUnoObjectImpl = dynamic_cast<SdrUnoObj*>( GetSdrObjectFromXShape(mxShape) );
SdrView* pView = maShapeTreeInfo.GetSdrView();
OSL_ENSURE( pView && pViewWindow && pUnoObjectImpl, "AccessibleControlShape::Init: no view, or no view window, no SdrUnoObj!" );