summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2009-05-25 15:31:24 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2009-05-25 15:31:24 +0000
commit3ffef1bb6bdc42926ec0771be528a88377f6d9a9 (patch)
tree15efd95e1cb07a7f331cf4130e3b3bbffd97b552
parentd062f80581f73bdddac31294d98e982e64d0f6f4 (diff)
#i10000#: EXC_CHPROPS_SHOWVISCELLS -> EXC_CHPROPS_SHOWVISIBLEONLY
-rw-r--r--sc/source/filter/excel/xechart.cxx2
-rw-r--r--sc/source/filter/excel/xichart.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx
index a1ccd4ed1f7f..b65481828c3d 100644
--- a/sc/source/filter/excel/xechart.cxx
+++ b/sc/source/filter/excel/xechart.cxx
@@ -2756,7 +2756,7 @@ XclExpChChart::XclExpChChart( const XclExpRoot& rRoot,
// global chart properties (only 'include hidden cells' attribute for now)
ScfPropertySet aDiagramProp( xDiagram );
bool bIncludeHidden = aDiagramProp.GetBoolProperty( EXC_CHPROP_INCLUDEHIDDENCELLS );
- ::set_flag( maProps.mnFlags, EXC_CHPROPS_SHOWVISCELLS, !bIncludeHidden );
+ ::set_flag( maProps.mnFlags, EXC_CHPROPS_SHOWVISIBLEONLY, !bIncludeHidden );
// initialize API conversion (remembers xChartDoc internally)
InitConversion( xChartDoc );
diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx
index fd7b272e42da..3ee93d0ef94a 100644
--- a/sc/source/filter/excel/xichart.cxx
+++ b/sc/source/filter/excel/xichart.cxx
@@ -3421,7 +3421,7 @@ void XclImpChChart::Convert( Reference< XChartDocument > xChartDoc, ScfProgressB
if( xStandardApiChartDoc.is() )
{
ScfPropertySet aDiagramProp( xStandardApiChartDoc->getDiagram() );
- bool bShowVisCells = (maProps.mnFlags & EXC_CHPROPS_SHOWVISCELLS);
+ bool bShowVisCells = (maProps.mnFlags & EXC_CHPROPS_SHOWVISIBLEONLY);
aDiagramProp.SetBoolProperty( EXC_CHPROP_INCLUDEHIDDENCELLS, !bShowVisCells );
}