diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-10-01 07:35:04 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-10-01 07:35:04 +0000 |
commit | 70346a32723a3f3c1cbfedd2c6096152260ef9f7 (patch) | |
tree | cdadef43a660b956867d0d9a0562160ec3069429 /chart2/source/tools/ObjectIdentifier.cxx | |
parent | ff916ccce1527b63aad17bbae0ad02a834cd31d6 (diff) |
CWS-TOOLING: integrate CWS chart30
Diffstat (limited to 'chart2/source/tools/ObjectIdentifier.cxx')
-rw-r--r-- | chart2/source/tools/ObjectIdentifier.cxx | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx index db5dd56e59be..57c8ef01d5d6 100644 --- a/chart2/source/tools/ObjectIdentifier.cxx +++ b/chart2/source/tools/ObjectIdentifier.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ObjectIdentifier.cxx,v $ - * $Revision: 1.8 $ + * $Revision: 1.8.24.2 $ * * This file is part of OpenOffice.org. * @@ -254,11 +254,6 @@ void lcl_getDiagramAndCooSys( const OUString& rObjectCID } //anonymous namespace -ObjectIdentifier::ObjectIdentifier() -{ -} - - //static OUString ObjectIdentifier::createClassifiedIdentifierForObject( const Reference< uno::XInterface >& xObject @@ -417,35 +412,6 @@ OUString ObjectIdentifier::createParticleForCoordinateSystem( } //static -OUString ObjectIdentifier::createParticleForChartType( - const Reference< XChartType >& xChartType - , const Reference< frame::XModel >& xChartModel ) -{ - OUStringBuffer aRet; - - Reference< XDiagram > xDiagram( ChartModelHelper::findDiagram( xChartModel ) ); - Reference< XCoordinateSystem > xCooSys( DiagramHelper::getCoordinateSystemOfChartType( xDiagram, xChartType ) ); - Reference< XChartTypeContainer > xChartTypeContainer( xCooSys, uno::UNO_QUERY ); - if( xChartTypeContainer.is() ) - { - uno::Sequence< uno::Reference< XChartType > > aChartTypeList( xChartTypeContainer->getChartTypes() ); - for( sal_Int32 nT = 0; nT < aChartTypeList.getLength(); ++nT ) - { - uno::Reference< XChartType > xCurrentChartType( aChartTypeList[nT] ); - if( xChartType == xCurrentChartType ) - { - aRet = ObjectIdentifier::createParticleForCoordinateSystem( xCooSys, xChartModel ); - aRet.appendAscii(":CT="); - aRet.append( OUString::valueOf( nT ) ); - break; - } - } - } - - return aRet.makeStringAndClear(); -} - -//static OUString ObjectIdentifier::createParticleForAxis( sal_Int32 nDimensionIndex , sal_Int32 nAxisIndex ) |