diff options
author | Elton Chung <elton@layerjet.com> | 2012-02-05 14:39:47 +0800 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-02-05 16:40:03 +0400 |
commit | 9c06348b32bd799241f23b1c2d75a46cf498d015 (patch) | |
tree | eaedb04eb775ee20712d41387ca28409bc2d9885 /xmloff | |
parent | Remove wrong return (diff) | |
download | core-9c06348b32bd799241f23b1c2d75a46cf498d015.tar.gz core-9c06348b32bd799241f23b1c2d75a46cf498d015.zip |
Remove unused code.
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/SchXMLExport.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLExport.cxx | 28 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.cxx | 8 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.hxx | 2 |
4 files changed, 0 insertions, 40 deletions
diff --git a/xmloff/inc/SchXMLExport.hxx b/xmloff/inc/SchXMLExport.hxx index f5034b0983c3..142667b74703 100644 --- a/xmloff/inc/SchXMLExport.hxx +++ b/xmloff/inc/SchXMLExport.hxx @@ -80,8 +80,6 @@ public: sal_uInt16 nExportFlags = EXPORT_ALL ); virtual ~SchXMLExport(); - void SetProgress( sal_Int32 nPercentage ); - UniReference< XMLPropertySetMapper > GetPropertySetMapper() const; // XServiceInfo ( : SvXMLExport ) diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index 7d84fc53e48f..f412ab05c7a9 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -3533,27 +3533,6 @@ void SchXMLExportHelper_Impl::exportDataPoints( } } - -void SchXMLExportHelper_Impl::getCellAddress( sal_Int32 nCol, sal_Int32 nRow ) -{ - msStringBuffer.append( (sal_Unicode)'.' ); - if( nCol < 26 ) - msStringBuffer.append( (sal_Unicode)('A' + nCol) ); - else if( nCol < 702 ) - { - msStringBuffer.append( (sal_Unicode)('A' + nCol / 26 - 1 )); - msStringBuffer.append( (sal_Unicode)('A' + nCol % 26) ); - } - else - { - msStringBuffer.append( (sal_Unicode)('A' + nCol / 702 - 1 )); - msStringBuffer.append( (sal_Unicode)('A' + (nCol % 702) / 26 )); - msStringBuffer.append( (sal_Unicode)('A' + nCol % 26) ); - } - - msStringBuffer.append( nRow + (sal_Int32)1 ); -} - void SchXMLExportHelper_Impl::addPosition( const awt::Point & rPosition ) { mrExport.GetMM100UnitConverter().convertMeasureToXML( @@ -3757,13 +3736,6 @@ void SchXMLExport::_ExportContent() } } -void SchXMLExport::SetProgress( sal_Int32 nPercentage ) -{ - // set progress view - if( mxStatusIndicator.is()) - mxStatusIndicator->setValue( nPercentage ); -} - UniReference< XMLPropertySetMapper > SchXMLExport::GetPropertySetMapper() const { return maExportHelper.m_pImpl->GetPropertySetMapper(); diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index 5f8eae4fcc4b..5df79c9ddd94 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -749,14 +749,6 @@ bool SchXMLPositonAttributesHelper::isAutomatic() const { return m_bAutoSize || m_bAutoPosition; } -awt::Point SchXMLPositonAttributesHelper::getPosition() const -{ - return m_aPosition; -} -awt::Size SchXMLPositonAttributesHelper::getSize() const -{ - return m_aSize; -} awt::Rectangle SchXMLPositonAttributesHelper::getRectangle() const { return awt::Rectangle( m_aPosition.X, m_aPosition.Y, m_aSize.Width, m_aSize.Height ); diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.hxx b/xmloff/source/chart/SchXMLPlotAreaContext.hxx index 0f71542e2074..92a8b484e9e4 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.hxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.hxx @@ -86,8 +86,6 @@ public: private: bool hasSize() const; bool hasPosition() const; - ::com::sun::star::awt::Size getSize() const; - ::com::sun::star::awt::Point getPosition() const; SvXMLImport& m_rImport; |