summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fupage.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@openoffice.org>2001-06-06 14:13:55 +0000
committerThorsten Behrens <thb@openoffice.org>2001-06-06 14:13:55 +0000
commit9798f4e2445c33f4f6aa0f676866927db953ceed (patch)
tree30f47a4d483cc42a6b070065f3b728b064244314 /sd/source/ui/func/fupage.cxx
parent118e1a45050179695c321180bfd53e850f1ca6ae (diff)
#73900# Disabled page background dialog in the questionable cases
Diffstat (limited to 'sd/source/ui/func/fupage.cxx')
-rw-r--r--sd/source/ui/func/fupage.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx
index 910b2b3709b3..e6856a9e5f7a 100644
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fupage.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: dl $ $Date: 2001-05-28 07:06:43 $
+ * last change: $Author: thb $ $Date: 2001-06-06 15:13:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -335,10 +335,9 @@ FuPage::FuPage( SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
aMergedAttr.Put(aNewAttr);
- BOOL bAreaTabPage = ( ePageKind == PK_NOTES &&
- ( (SdDrawViewShell*) pViewSh )->GetEditMode() == EM_MASTERPAGE ) ||
- ( ePageKind == PK_HANDOUT );
- SdPageDlg* pDlg = new SdPageDlg( pDocSh, NULL, &aMergedAttr, bAreaTabPage );
+ SdPageDlg* pDlg = new SdPageDlg( pDocSh, NULL, &aMergedAttr,
+ // shall we display background area tabpage?
+ (ePageKind == PK_STANDARD) ? TRUE : FALSE );
USHORT nResult = pDlg->Execute();