Kaydet (Commit) aaa44dc0 authored tarafından Caolán McNamara's avatar Caolán McNamara

recipients just need OutputDevices

Change-Id: Ia4b2fae44a873323444faf558d831b31635a8ee1
Reviewed-on: https://gerrit.libreoffice.org/72411Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst f90a4804
......@@ -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!" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment