summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-05-03 13:03:20 +0000
committerOliver Bolte <obo@openoffice.org>2005-05-03 13:03:20 +0000
commit13b94ab830ba0b965cca73c4b41ccff41663efc0 (patch)
tree64cd0f108cf6fb410568f21c78842454c9b0328b /sd
parent9eb7e05fede021f79753f01dddbf504d3cd1a7da (diff)
INTEGRATION: CWS presfixes05 (1.55.12); FILE MERGED
2005/04/29 11:30:14 cl 1.55.12.2: #i48202# use a guard class during disable modify operations 2005/04/28 14:54:45 cl 1.55.12.1: #i48202# disable setmodified during some operation so it does not interfear with digital signatures
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviews1.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx
index b1cd5ce55435..c5ebbd6cde69 100644
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: drviews1.cxx,v $
*
- * $Revision: 1.56 $
+ * $Revision: 1.57 $
*
- * last change: $Author: obo $ $Date: 2005-04-22 13:28:19 $
+ * last change: $Author: obo $ $Date: 2005-05-03 14:03:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1002,9 +1002,9 @@ BOOL DrawViewShell::SwitchPage(USHORT nSelectedPage)
if (IsSwitchPageAllowed())
{
- bOK = TRUE;
+ ModifyGuard aGuard( GetDoc() );
- BOOL bIsChanged = GetDoc()->IsChanged();
+ bOK = TRUE;
if (pActualPage)
{
@@ -1285,8 +1285,6 @@ BOOL DrawViewShell::SwitchPage(USHORT nSelectedPage)
// if (pDrView->GetSlideShow())
// pDrView->SetAnimationMode(TRUE);
-
- GetDoc()->SetChanged(bIsChanged);
}
return (bOK);