diff options
Diffstat (limited to 'chart2/source/tools/MediaDescriptorHelper.cxx')
-rw-r--r-- | chart2/source/tools/MediaDescriptorHelper.cxx | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/chart2/source/tools/MediaDescriptorHelper.cxx b/chart2/source/tools/MediaDescriptorHelper.cxx index b27be669532c..d379d2152a38 100644 --- a/chart2/source/tools/MediaDescriptorHelper.cxx +++ b/chart2/source/tools/MediaDescriptorHelper.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: MediaDescriptorHelper.cxx,v $ - * $Revision: 1.5 $ + * $Revision: 1.5.44.1 $ * * This file is part of OpenOffice.org. * @@ -217,27 +217,6 @@ MediaDescriptorHelper::~MediaDescriptorHelper() } uno::Sequence< beans::PropertyValue > MediaDescriptorHelper -::getAll() -{ - uno::Sequence< beans::PropertyValue > aAll( m_aRegularProperties ); - //write properties to aAll - if( m_aDeprecatedProperties.getLength() ) - { - sal_Int32 nCount = aAll.getLength(); - aAll.realloc( nCount + m_aDeprecatedProperties.getLength()); - for(sal_Int32 i=0;i<m_aDeprecatedProperties.getLength();i++) - aAll[nCount+i]=m_aDeprecatedProperties[i]; - } - if( m_aAdditionalProperties.getLength() ) - { - sal_Int32 nCount = aAll.getLength(); - aAll.realloc(nCount + m_aAdditionalProperties.getLength()); - for(sal_Int32 i=0;i<m_aAdditionalProperties.getLength();i++) - aAll[nCount+i]=m_aAdditionalProperties[i]; - } - return aAll; -} - uno::Sequence< beans::PropertyValue > MediaDescriptorHelper ::getReducedForModel() { return m_aModelProperties; |