summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/sdpreslt.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-12-01 16:45:09 +0000
committerRüdiger Timm <rt@openoffice.org>2003-12-01 16:45:09 +0000
commit897edc716a9b9d9e15740d6a47f138827c03755f (patch)
treefe5a6b90bbb43e8075554d36e3d25270a218e6cb /sd/source/ui/dlg/sdpreslt.cxx
parent60f7ce3d4dc2587077abda5eb109f17261782903 (diff)
INTEGRATION: CWS ooo20031110 (1.4.136); FILE MERGED
2003/11/11 14:07:54 waratah 1.4.136.1: #i22301# Correct for scoping rules
Diffstat (limited to 'sd/source/ui/dlg/sdpreslt.cxx')
-rw-r--r--sd/source/ui/dlg/sdpreslt.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/sdpreslt.cxx b/sd/source/ui/dlg/sdpreslt.cxx
index 1c63a6d22487..636aa6d90c06 100644
--- a/sd/source/ui/dlg/sdpreslt.cxx
+++ b/sd/source/ui/dlg/sdpreslt.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sdpreslt.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2003-04-24 14:37:33 $
+ * last change: $Author: rt $ $Date: 2003-12-01 17:45:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -142,6 +142,7 @@ SdPresLayoutDlg::~SdPresLayoutDlg()
void SdPresLayoutDlg::Reset()
{
const SfxPoolItem *pPoolItem = NULL;
+ long nName;
// MasterPage austauschen
if( rOutAttrs.GetItemState( ATTR_PRESLAYOUT_MASTER_PAGE, FALSE, &pPoolItem ) == SFX_ITEM_SET )
@@ -162,7 +163,7 @@ void SdPresLayoutDlg::Reset()
FillValueSet();
nLayoutCount = pLayoutNames->Count();
- for( long nName = 0; nName < nLayoutCount; nName++ )
+ for( nName = 0; nName < nLayoutCount; nName++ )
{
if (*((String*)pLayoutNames->GetObject(nName)) == aName)
break;