summaryrefslogtreecommitdiff
path: root/sd/source/ui/accessibility
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-11-14 13:23:31 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-11-14 13:23:31 +0000
commit576ec0b00abfd4be5f25967dc274a36f3266435f (patch)
tree947d58ca215ed90b50cb7f2090f516ef88de7d02 /sd/source/ui/accessibility
parentd23f0737302046ff4696578d32c88c41caf15e6c (diff)
INTEGRATION: CWS aw024 (1.7.308); FILE MERGED
2006/09/21 22:53:58 aw 1.7.308.3: RESYNC: (1.8-1.9); FILE MERGED 2005/09/17 10:37:07 aw 1.7.308.2: RESYNC: (1.7-1.8); FILE MERGED 2005/05/19 12:11:20 aw 1.7.308.1: #i39529#
Diffstat (limited to 'sd/source/ui/accessibility')
-rw-r--r--sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx16
1 files changed, 13 insertions, 3 deletions
diff --git a/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx b/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx
index 48d0fc7a63e7..33b672f7888e 100644
--- a/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx
+++ b/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: AccessibleOutlineEditSource.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 18:24:32 $
+ * last change: $Author: ihi $ $Date: 2006-11-14 14:23:31 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -50,6 +50,10 @@
#include "OutlineView.hxx"
#endif
+#ifndef _SDRPAINTWINDOW_HXX
+#include <svx/sdrpaintwindow.hxx>
+#endif
+
namespace accessibility
{
@@ -143,7 +147,13 @@ namespace accessibility
{
if( IsValid() )
{
- Rectangle aVisArea = mrView.GetVisibleArea( mrView.FindWin( const_cast< Window* > (&mrWindow) ) );
+ SdrPaintWindow* pPaintWindow = mrView.FindPaintWindow(mrWindow);
+ Rectangle aVisArea;
+
+ if(pPaintWindow)
+ {
+ aVisArea = pPaintWindow->GetVisibleArea();
+ }
MapMode aMapMode(mrWindow.GetMapMode());
aMapMode.SetOrigin(Point());