INTEGRATION: CWS ooo20031110 (1.21.100); FILE MERGED
2003/11/11 14:07:56 waratah 1.21.100.1: #i22301# Correct for scoping rules
This commit is contained in:
parent
f184ff3446
commit
51f919d13e
1 changed files with 6 additions and 4 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: drviews3.cxx,v $
|
||||
*
|
||||
* $Revision: 1.21 $
|
||||
* $Revision: 1.22 $
|
||||
*
|
||||
* last change: $Author: vg $ $Date: 2003-06-04 11:04:20 $
|
||||
* last change: $Author: rt $ $Date: 2003-12-01 17:45:49 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -548,8 +548,9 @@ void SdDrawViewShell::ExecRuler(SfxRequest& rReq)
|
|||
aPageSize.Width() - aViewSize.Width());
|
||||
|
||||
USHORT nPageCnt = pDoc->GetSdPageCount(ePageKind);
|
||||
USHORT i;
|
||||
|
||||
for (USHORT i = 0; i < nPageCnt; i++)
|
||||
for ( i = 0; i < nPageCnt; i++)
|
||||
{
|
||||
SdPage* pPage = pDoc->GetSdPage(i, ePageKind);
|
||||
SdUndoAction* pUndo = new SdPageLRUndoAction(pDoc,
|
||||
|
@ -607,8 +608,9 @@ void SdDrawViewShell::ExecRuler(SfxRequest& rReq)
|
|||
aPageSize.Height() - aViewSize.Height());
|
||||
|
||||
USHORT nPageCnt = pDoc->GetSdPageCount(ePageKind);
|
||||
USHORT i;
|
||||
|
||||
for (USHORT i = 0; i < nPageCnt; i++)
|
||||
for ( i = 0; i < nPageCnt; i++)
|
||||
{
|
||||
SdPage* pPage = pDoc->GetSdPage(i, ePageKind);
|
||||
SdUndoAction* pUndo = new SdPageULUndoAction(pDoc,
|
||||
|
|
Loading…
Reference in a new issue