Commits

hr  committed 2dad229

#i10000#: EXC_CHPROPS_SHOWVISCELLS -> EXC_CHPROPS_SHOWVISIBLEONLY

  • Participants
  • Parent commits f6924d1

Comments (0)

Files changed (2)

File sc/source/filter/excel/xechart.cxx

         // 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 );

File sc/source/filter/excel/xichart.cxx

     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  );
     }