summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg/areasdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/pagedlg/areasdlg.cxx')
-rw-r--r--sc/source/ui/pagedlg/areasdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx
index 1e0520015ecc..641fa97d1685 100644
--- a/sc/source/ui/pagedlg/areasdlg.cxx
+++ b/sc/source/ui/pagedlg/areasdlg.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: areasdlg.cxx,v $
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
* This file is part of OpenOffice.org.
*
@@ -412,7 +412,7 @@ void ScPrintAreasDlg::Impl_FillLists()
BOOL bSimple = TRUE;
if ( pViewData )
- bSimple = pViewData->GetSimpleArea( aRange );
+ bSimple = (pViewData->GetSimpleArea( aRange ) == SC_MARK_SIMPLE);
if ( bSimple )
aRange.Format( aStrRange, SCR_ABS, pDoc );