diff options
author | Oliver Specht <os@openoffice.org> | 2001-02-28 09:17:05 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-02-28 09:17:05 +0000 |
commit | 0335c32452b61000fb6fc1588c3143ebafcdec7a (patch) | |
tree | 3ca1e61969ff6b266fcd61db513800d70e046bab /svx/source | |
parent | 130a16b3f10358e2ceb4f0b9fe6b17bc6006e695 (diff) |
#84435# ::setPosition: anchor position correctly calculated
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 49e632aba627..acfc08acb454 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoshape.cxx,v $ * - * $Revision: 1.40 $ + * $Revision: 1.41 $ * - * last change: $Author: cl $ $Date: 2001-02-23 21:33:15 $ + * last change: $Author: os $ $Date: 2001-02-28 10:17:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -806,7 +806,7 @@ void SAL_CALL SvxShape::setPosition( const awt::Point& Position ) throw(uno::Run ForceMetricToItemPoolMetric(aLocalPos); // Position ist absolut, relativ zum Anker stellen - aLocalPos -= pObj->GetAnchorPos(); + aLocalPos += pObj->GetAnchorPos(); long nDX = aLocalPos.X() - aRect.Left(); long nDY = aLocalPos.Y() - aRect.Top(); |