INTEGRATION: CWS aw024 (1.6.310); FILE MERGED

2006/09/21 23:18:43 aw 1.6.310.5: RESYNC: (1.8-1.9); FILE MERGED
2006/01/26 19:58:27 aw 1.6.310.4: RESYNC: (1.7-1.8); FILE MERGED
2005/09/17 11:38:33 aw 1.6.310.3: RESYNC: (1.6-1.7); FILE MERGED
2005/05/26 11:24:37 aw 1.6.310.2: #i39531#
2005/05/19 12:11:28 aw 1.6.310.1: #i39529#
This commit is contained in:
Ivo Hinkelmann 2006-11-14 13:31:59 +00:00
parent 6b1c29b130
commit 4eb0141176

View file

@ -4,9 +4,9 @@
*
* $RCSfile: fuzoom.cxx,v $
*
* $Revision: 1.9 $
* $Revision: 1.10 $
*
* last change: $Author: obo $ $Date: 2006-09-16 18:58:37 $
* last change: $Author: ihi $ $Date: 2006-11-14 14:31:59 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -193,7 +193,7 @@ BOOL FuZoom::MouseMove(const MouseEvent& rMEvt)
if (aScroll.X() != 0 || aScroll.Y() != 0)
{
Size aWorkSize = pView->GetWorkArea().GetSize();
Size aPageSize = pView->GetPageViewPvNum(0)->GetPage()->GetSize();
Size aPageSize = pView->GetSdrPageView()->GetPage()->GetSize();
aScroll.X() /= aWorkSize.Width() / aPageSize.Width();
aScroll.Y() /= aWorkSize.Height() / aPageSize.Height();
pViewShell->Scroll(aScroll.X(), aScroll.Y());