diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-03-18 14:58:58 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-03-18 14:58:58 +0000 |
commit | 99dec3a7a4e61820216f88693b9a5552d0cefe6c (patch) | |
tree | d386b06d31d6125c15ebac897e377f3368259d10 | |
parent | e7b769f0a4d6718bdc99a13fee48c9789e148b3d (diff) |
INTEGRATION: CWS sw8u10bf05 (1.12.76); FILE MERGED
2008/02/19 12:58:13 ama 1.12.76.1: Fix #85182#: Remove unused methods
-rw-r--r-- | sw/source/core/unocore/unochart.cxx | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index ad086984b53c..b7c3641d81fb 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unochart.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: rt $ $Date: 2008-03-12 12:27:13 $ + * last change: $Author: vg $ $Date: 2008-03-18 15:58:58 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -2728,29 +2728,6 @@ sal_Bool SwChartDataSequence::DeleteBox( const SwTableBox &rBox ) } -chart::ChartDataRowSource SwChartDataSequence::GetDataRowSource() const -{ - // default value if sequence is not long enough to properly get this value - chart::ChartDataRowSource eDataRowSource = chart::ChartDataRowSource_COLUMNS; - - SwFrmFmt* pTblFmt = GetFrmFmt(); - if(pTblFmt) - { - SwTable* pTable = SwTable::FindTable( pTblFmt ); - if(!pTable->IsTblComplex()) - { - SwRangeDescriptor aDesc; - if (FillRangeDescriptor( aDesc, GetCellRangeName( *pTblFmt, *pTblCrsr ) )) - { - if (aDesc.nTop == aDesc.nBottom && aDesc.nLeft != aDesc.nRight) - eDataRowSource = chart::ChartDataRowSource_ROWS; - } - } - } - return eDataRowSource; -} - - void SwChartDataSequence::FillRangeDesc( SwRangeDescriptor &rRangeDesc ) const { SwFrmFmt* pTblFmt = GetFrmFmt(); |