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

document ViewShell::CreateAccessibleDocumentView problem

üst 34af0dd0
......@@ -671,11 +671,9 @@ void DrawViewShell::VisAreaChanged(const Rectangle& rRect)
(static_cast< ::com::sun::star::uno::XWeak*>(pDocumentView),
::com::sun::star::uno::UNO_QUERY);
}
else
{
OSL_TRACE ("DrawViewShell::CreateAccessibleDocumentView: no controller");
return ViewShell::CreateAccessibleDocumentView (pWindow);
}
OSL_TRACE ("DrawViewShell::CreateAccessibleDocumentView: no controller");
return ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible>();
}
......
......@@ -2099,11 +2099,9 @@ void OutlineViewShell::VisAreaChanged(const Rectangle& rRect)
(static_cast< ::com::sun::star::uno::XWeak*>(pDocumentView),
::com::sun::star::uno::UNO_QUERY);
}
else
{
OSL_TRACE ("OutlineViewShell::CreateAccessibleDocumentView: no controller");
return ViewShell::CreateAccessibleDocumentView (pWindow);
}
OSL_TRACE ("OutlineViewShell::CreateAccessibleDocumentView: no controller");
return ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >();
}
......
......@@ -1281,6 +1281,8 @@ void ViewShell::ExecReq( SfxRequest& rReq )
::com::sun::star::accessibility::XAccessible>
ViewShell::CreateAccessibleDocumentView (::sd::Window* )
{
OSL_FAIL("ViewShell::CreateAccessibleDocumentView should not be called!, perhaps Meyers, 3rd edition, Item 9:\n");
return ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible> ();
}
......
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