diff options
author | Andre Fischer <af@openoffice.org> | 2002-05-06 08:28:08 +0000 |
---|---|---|
committer | Andre Fischer <af@openoffice.org> | 2002-05-06 08:28:08 +0000 |
commit | c74b5fae4f3453a2c80052ca9fb91fd3632da16e (patch) | |
tree | 8f695714ee0bb95802b6e8f1ee9efb13016c5c5d /svx/source | |
parent | c560506725403128af310563d193cd5af8de8741 (diff) |
#95585# Using AccessibleShapeInfo for construction of shapes.
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/accessibility/GraphCtlAccessibleContext.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/svx/source/accessibility/GraphCtlAccessibleContext.cxx b/svx/source/accessibility/GraphCtlAccessibleContext.cxx index 463b9816b4e3..ce432fd64f37 100644 --- a/svx/source/accessibility/GraphCtlAccessibleContext.cxx +++ b/svx/source/accessibility/GraphCtlAccessibleContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: GraphCtlAccessibleContext.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: cl $ $Date: 2002-04-19 13:02:50 $ + * last change: $Author: af $ $Date: 2002-05-06 09:28:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -111,6 +111,9 @@ #ifndef _SVX_ACCESSIBILITY_SHAPE_TYPE_HANDLER_HXX #include "ShapeTypeHandler.hxx" #endif +#ifndef _SVX_ACCESSIBILITY_ACCESSIBLE_SHAPE_INFO_HXX +#include "AccessibleShapeInfo.hxx" +#endif #ifndef _SVXGRAPHACCESSIBLECONTEXT_HXX #include "GraphCtlAccessibleContext.hxx" #endif @@ -226,7 +229,8 @@ Reference< XAccessible > SAL_CALL SvxGraphCtrlAccessibleContext::getAccessible( Reference< XShape > xShape( Reference< XShape >::query( (const_cast<SdrObject*>(pObj))->getUnoShape() ) ); // Create accessible object that corresponds to the descriptor's shape. - AccessibleShape* pAcc = ShapeTypeHandler::Instance().CreateAccessibleObject( xShape, mxParent, maTreeInfo); + AccessibleShape* pAcc = ShapeTypeHandler::Instance().CreateAccessibleObject( + AccessibleShapeInfo (xShape,mxParent), maTreeInfo); xAccessibleShape = pAcc; pAcc->acquire(); mxShapes[pObj] = pAcc; |