summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-05 14:39:47 +0800
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-02-05 16:40:03 +0400
commit9c06348b32bd799241f23b1c2d75a46cf498d015 (patch)
treeeaedb04eb775ee20712d41387ca28409bc2d9885 /xmloff/source
parentdf58753d51c41253f26104d146a73ba74c42e33e (diff)
Remove unused code.
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx28
-rw-r--r--xmloff/source/chart/SchXMLPlotAreaContext.cxx8
-rw-r--r--xmloff/source/chart/SchXMLPlotAreaContext.hxx2
3 files changed, 0 insertions, 38 deletions
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;