summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/view/drviews4.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-07-15 08:00:36 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-07-15 08:00:36 +0000
commit0531ae66c36e8b053db03779bf9fb30b4ab8f8e8 (patch)
tree1d973115fb64dda5de1ee9dcf5396d429eb00903 /sd/source/ui/view/drviews4.cxx
parent#i10000# InitRedraw changed into CompleteRedraw (see CWS aw013) (diff)
downloadcore-0531ae66c36e8b053db03779bf9fb30b4ab8f8e8.tar.gz
core-0531ae66c36e8b053db03779bf9fb30b4ab8f8e8.zip
#i10000# Adapt to changes made in CWS aw013
Diffstat (limited to 'sd/source/ui/view/drviews4.cxx')
-rw-r--r--sd/source/ui/view/drviews4.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx
index 3923c9c74759..0e002b38fa2d 100644
--- a/sd/source/ui/view/drviews4.cxx
+++ b/sd/source/ui/view/drviews4.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: drviews4.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: rt $ $Date: 2004-07-13 15:14:06 $
+ * last change: $Author: rt $ $Date: 2004-07-15 08:58:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -859,7 +859,7 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin)
{
Rectangle aMarkRect;
pDrView->GetMarkedObjectList().TakeBoundRect(NULL,aMarkRect);
- aMenuPos = pWindow->LogicToPixel( aMarkRect.Center() );
+ aMenuPos = GetActiveWindow()->LogicToPixel( aMarkRect.Center() );
//move the point into the visible window area
if( aMenuPos.X() < 0 )