summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/view/drviews3.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2003-12-01 16:45:49 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2003-12-01 16:45:49 +0000
commit51f919d13ee31171feb4a65faee56201bb982917 (patch)
tree3b6ed6cce6a8becb54d3bb5c39b8d2fc11e30584 /sd/source/ui/view/drviews3.cxx
parentINTEGRATION: CWS ooo20031110 (1.20.94); FILE MERGED (diff)
downloadcore-51f919d13ee31171feb4a65faee56201bb982917.tar.gz
core-51f919d13ee31171feb4a65faee56201bb982917.zip
INTEGRATION: CWS ooo20031110 (1.21.100); FILE MERGED
2003/11/11 14:07:56 waratah 1.21.100.1: #i22301# Correct for scoping rules
Diffstat (limited to 'sd/source/ui/view/drviews3.cxx')
-rw-r--r--sd/source/ui/view/drviews3.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviews3.cxx b/sd/source/ui/view/drviews3.cxx
index 43162f6455fd..884a8bd8f4af 100644
--- a/sd/source/ui/view/drviews3.cxx
+++ b/sd/source/ui/view/drviews3.cxx
@@ -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,