diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-03-18 16:04:06 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-03-18 16:04:06 +0000 |
commit | 4112203d473f2d94ab65ce7a61e962943d804d45 (patch) | |
tree | f100c89f8a318c187d5f74335b7ebd48d86d719e /sd/source/ui/view/ViewShellImplementation.cxx | |
parent | eb104525921fa0bff4f0f930e218dea22ab4e287 (diff) |
INTEGRATION: CWS impress36 (1.12.42); FILE MERGED
2005/03/02 12:45:12 af 1.12.42.1: #i42583# Corrected guard against invalid AutoLauyout ids.
Diffstat (limited to 'sd/source/ui/view/ViewShellImplementation.cxx')
-rw-r--r-- | sd/source/ui/view/ViewShellImplementation.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/view/ViewShellImplementation.cxx b/sd/source/ui/view/ViewShellImplementation.cxx index fca95312f3f3..3db2551fedaf 100644 --- a/sd/source/ui/view/ViewShellImplementation.cxx +++ b/sd/source/ui/view/ViewShellImplementation.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ViewShellImplementation.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: obo $ $Date: 2005-01-28 10:53:40 $ + * last change: $Author: kz $ $Date: 2005-03-18 17:04:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -220,8 +220,8 @@ void ViewShell::Implementation::ProcessModifyPageSlot ( SFX_REQUEST_ARG (rRequest, pBVisible, SfxBoolItem, ID_VAL_ISPAGEBACK, FALSE); SFX_REQUEST_ARG (rRequest, pBObjsVisible, SfxBoolItem, ID_VAL_ISPAGEOBJ, FALSE); AutoLayout aLayout ((AutoLayout)pNewAutoLayout->GetValue ()); - if (aLayout >= AUTOLAYOUT_TITLE - && aLayout <= AUTOLAYOUT_HANDOUT6) + if (aLayout >= AUTOLAYOUT__START + && aLayout < AUTOLAYOUT__END) { aNewName = pNewName->GetValue (); aNewAutoLayout = (AutoLayout) pNewAutoLayout->GetValue (); |