diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2003-12-01 16:43:21 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2003-12-01 16:43:21 +0000 |
commit | c2bbbbf2a191fbcf4180a8ab2efc62f318651986 (patch) | |
tree | 7719ccf7fa9e1e2e549c8a27c5ef6670be46dabe /sd | |
parent | 63d7ee08066b8b33bfc395e23bdd4a3c183ef6e5 (diff) |
INTEGRATION: CWS ooo20031110 (1.14.246); FILE MERGED
2003/11/11 14:07:47 waratah 1.14.246.1: #i22301# Correct for scoping rules
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/sdpage2.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sd/source/core/sdpage2.cxx b/sd/source/core/sdpage2.cxx index a87a96c98..1568c723d 100644 --- a/sd/source/core/sdpage2.cxx +++ b/sd/source/core/sdpage2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sdpage2.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: cl $ $Date: 2002-10-31 13:27:11 $ + * last change: $Author: rt $ $Date: 2003-12-01 17:43:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -403,10 +403,11 @@ void SdPage::WriteData(SvStream& rOut) const UINT32 nUserCallCount = 0; UINT32 nCount = (UINT32)aPresObjList.Count(); UINT32 nValidCount = nCount; + UINT32 nObj; // NULL-Pointer rauszaehlen. Eigentlich haben die nichts in der Liste // verloren, aber es gibt leider Kundenfiles, in denen so was vorkommt. - for (UINT32 nObj = 0; nObj < nCount; nObj++) + for ( nObj = 0; nObj < nCount; nObj++) { SdrObject* pObj = (SdrObject*)aPresObjList.GetObject(nObj); if (!pObj) |