diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-07-30 14:45:52 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-07-30 14:45:52 +0000 |
commit | eb4d34b59f1d7de3d43a38bca0255a9f384b0213 (patch) | |
tree | e9ff3cbefad89cd104d31f77d68cb454b4fcf97a /svx/source | |
parent | 87497f9e0883ef4bebfaad6a0a08842bc96b9874 (diff) |
INTEGRATION: CWS gcc340fixes01 (1.15.480); FILE MERGED
2004/07/15 17:21:16 hr 1.15.480.1: #i31534#: gcc-3.4.1 port: AccessibleShapeInfo has no copy ctor which seems to be needed if AccessibleShapeInfo object is created on the fly. I can't see why the copy ctor should be needed here, gcc bug?
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/accessibility/GraphCtlAccessibleContext.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/accessibility/GraphCtlAccessibleContext.cxx b/svx/source/accessibility/GraphCtlAccessibleContext.cxx index 99c400fcace7..760a03a24de4 100644 --- a/svx/source/accessibility/GraphCtlAccessibleContext.cxx +++ b/svx/source/accessibility/GraphCtlAccessibleContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: GraphCtlAccessibleContext.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: rt $ $Date: 2004-07-12 14:31:54 $ + * last change: $Author: kz $ $Date: 2004-07-30 15:45:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -251,9 +251,10 @@ Reference< XAccessible > SAL_CALL SvxGraphCtrlAccessibleContext::getAccessible( // create a new one and remember in our internal map Reference< XShape > xShape( Reference< XShape >::query( (const_cast<SdrObject*>(pObj))->getUnoShape() ) ); + AccessibleShapeInfo aShapeInfo (xShape,mxParent); // Create accessible object that corresponds to the descriptor's shape. AccessibleShape* pAcc = ShapeTypeHandler::Instance().CreateAccessibleObject( - AccessibleShapeInfo (xShape,mxParent), maTreeInfo); + aShapeInfo, maTreeInfo); xAccessibleShape = pAcc; if (pAcc != NULL) { |