diff options
author | Sascha Ballach <sab@openoffice.org> | 2002-08-29 13:56:11 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2002-08-29 13:56:11 +0000 |
commit | e6f39c01404efc72a876e80f1910c27920b01747 (patch) | |
tree | 733077b34fa41c7f64fd0c66ff292ff1a89e589d /sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx | |
parent | 64685722e95af23760f2a23ea4c736c9f76282c6 (diff) |
#102748#; calculate BoundingBoxOnScreen lke parent
Diffstat (limited to 'sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx index 509001c9b0f9..291847b9dc7f 100644 --- a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx +++ b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AccessiblePageHeaderArea.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: sab $ $Date: 2002-08-29 13:05:07 $ + * last change: $Author: sab $ $Date: 2002-08-29 14:56:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -311,6 +311,12 @@ Rectangle ScAccessiblePageHeaderArea::GetBoundingBoxOnScreen(void) const Rectangle aCellRect(GetBoundingBox()); if (mpViewShell) { + const ScPreviewLocationData& rData = mpViewShell->GetLocationData(); + if ( mbHeader ) + rData.GetHeaderPosition( aCellRect ); + else + rData.GetFooterPosition( aCellRect ); + Window* pWindow = mpViewShell->GetWindow(); if (pWindow) { |