diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-04-04 09:57:08 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-04-04 09:57:08 +0000 |
commit | 55d0497cc625f6d5d83e568b7997a58716675b6f (patch) | |
tree | a76da6c286bdafff7b8276a1265ba8f069939097 /chart2 | |
parent | 57f53a5ca32116e0f042bd79312a4a150b47481d (diff) |
INTEGRATION: CWS chart23 (1.13.6); FILE MERGED
2008/03/12 09:39:34 iha 1.13.6.1: #i85803# save and load stacking mode correctly
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx index 2e200346ffef..598472a44c78 100644 --- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: DiagramWrapper.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: rt $ $Date: 2008-02-18 15:38:45 $ + * last change: $Author: kz $ $Date: 2008-04-04 10:57:08 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1275,17 +1275,9 @@ WrappedStackingProperty::~WrappedStackingProperty() bool WrappedStackingProperty::detectInnerValue( StackMode& eStackMode ) const { bool bHasDetectableInnerValue = false; - Reference< chart2::XDiagram > xDiagram( m_spChart2ModelContact->getChart2Diagram() ); - if( xDiagram.is() ) - { - ::std::vector< uno::Reference< chart2::XDataSeries > > aSeriesList( - ::chart::DiagramHelper::getDataSeriesFromDiagram( xDiagram ) ); - if(aSeriesList.size()) - { - bHasDetectableInnerValue = true; - eStackMode = DiagramHelper::getStackMode( xDiagram ); - } - } + bool bIsAmbiguous = false; + eStackMode = DiagramHelper::getStackMode( m_spChart2ModelContact->getChart2Diagram() + , bHasDetectableInnerValue, bIsAmbiguous ); return bHasDetectableInnerValue; } |