diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2004-01-06 17:57:21 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2004-01-06 17:57:21 +0000 |
commit | 548f7fdf7f90983fa50d0e6c69bf485addb44b58 (patch) | |
tree | 43acf8bddb50e3b31767d3c34125bc5da60d42cc | |
parent | 61deaf42a26f85fff49a8ea83cc754701930310a (diff) |
INTEGRATION: CWS vclcleanup02 (1.11.194); FILE MERGED
2003/12/12 07:07:48 mt 1.11.194.1: #i23061# VCL cleanup...
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleEditObject.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleEditObject.cxx b/sc/source/ui/Accessibility/AccessibleEditObject.cxx index 69e9874e869a..82c91cb069e7 100644 --- a/sc/source/ui/Accessibility/AccessibleEditObject.cxx +++ b/sc/source/ui/Accessibility/AccessibleEditObject.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AccessibleEditObject.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: vg $ $Date: 2003-04-24 17:11:35 $ + * last change: $Author: vg $ $Date: 2004-01-06 18:57:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -188,12 +188,10 @@ Rectangle ScAccessibleEditObject::GetBoundingBoxOnScreen(void) const Rectangle aCellRect(GetBoundingBox()); if (mpWindow) { - Point aLoc; - aCellRect.getLocation(aLoc); + Point aLoc = aCellRect.TopLeft(); Rectangle aRect = mpWindow->GetWindowExtentsRelative(NULL); - Point aLoc2; - aRect.getLocation(aLoc2); - aCellRect.setLocation(Point(aLoc.getX() + aLoc2.getX(), aLoc.getY() + aLoc2.getY())); + Point aLoc2 = aRect.TopLeft(); + aCellRect.SetPos(Point(aLoc.getX() + aLoc2.getX(), aLoc.getY() + aLoc2.getY())); //aCellRect.setX(aCellRect.getX() + aRect.getX()); //aCellRect.setY(aCellRect.getY() + aRect.getY()); } |