diff options
author | Christian Lippka <cl@openoffice.org> | 2001-07-24 08:49:08 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-07-24 08:49:08 +0000 |
commit | ced1e6986c3002c2a838ee0df2f612d58e430633 (patch) | |
tree | b57276caf3d02af10129236e02821326dd46580d /xmloff | |
parent | 50d2cd9fbab8a752c5fc5a95d4bb2feeab4ac090 (diff) |
#90032# don't convert default glue point ids 0-3
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/shapeimport.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx index 076456132a2c..fa001829b8a8 100644 --- a/xmloff/source/draw/shapeimport.cxx +++ b/xmloff/source/draw/shapeimport.cxx @@ -2,9 +2,9 @@ * * $RCSfile: shapeimport.cxx,v $ * - * $Revision: 1.39 $ + * $Revision: 1.40 $ * - * last change: $Author: dvo $ $Date: 2001-06-29 21:07:13 $ + * last change: $Author: cl $ $Date: 2001-07-24 09:49:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1148,7 +1148,8 @@ void XMLShapeImportHelper::restoreConnections() aAny <<= xShape; xConnector->setPropertyValue( rHint.bStart ? msStartShape : msEndShape, aAny ); - aAny <<= getGluePointId( xShape, rHint.nDestGlueId ); + sal_Int32 nGlueId = rHint.nDestGlueId < 4 ? rHint.nDestGlueId : getGluePointId( xShape, rHint.nDestGlueId ); + aAny <<= nGlueId; xConnector->setPropertyValue( rHint.bStart ? msStartGluePointIndex : msEndGluePointIndex, aAny ); } |