summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-01-16 14:19:26 +0000
committerOliver Bolte <obo@openoffice.org>2006-01-16 14:19:26 +0000
commit7d327a11918539588c3610fdf0a84a11c4f40b1a (patch)
tree864c7784fb7c6a570a8477ff6c0d60ed524206ab /sd/source/ui/docshell
parentcb1c9f5c4ca1bce90b25ab7e145fbe2ef221d5fd (diff)
INTEGRATION: CWS impress81 (1.68.66); FILE MERGED
2005/12/28 23:47:25 cl 1.68.66.2: RESYNC: (1.68-1.69); FILE MERGED 2005/12/20 12:34:49 cl 1.68.66.1: #i59282# do not execute jumps to non standard pages ind draw
Diffstat (limited to 'sd/source/ui/docshell')
-rw-r--r--sd/source/ui/docshell/docshel4.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index ad2884dfdeab..1f0a70a19ab5 100644
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: docshel4.cxx,v $
*
- * $Revision: 1.69 $
+ * $Revision: 1.70 $
*
- * last change: $Author: rt $ $Date: 2005-12-14 14:37:58 $
+ * last change: $Author: obo $ $Date: 2006-01-16 15:19:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -812,6 +812,10 @@ BOOL DrawDocShell::GotoBookmark(const String& rBookmark)
// 1.) Change the view shell to the edit view, the notes view,
// or the handout view.
PageKind eNewPageKind = pPage->GetPageKind();
+
+ if( (eNewPageKind != PK_STANDARD) && (pDoc->GetDocumentType() == DOCUMENT_TYPE_DRAW) )
+ return FALSE;
+
if (eNewPageKind != pDrViewSh->GetPageKind())
{
// Arbeitsbereich wechseln