diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-04 11:49:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-04 11:49:53 +0200 |
commit | a6fb1e8885065ae8229b955bb3c23f4d1209af6a (patch) | |
tree | 765cf0915bbe9334a29011795e1f824cbcc40abb /chart2 | |
parent | 389875573012c6373d95ef31b12fe8e8104b1233 (diff) |
remove some unused code in chart2
Change-Id: I99afd30ad413b57d27c89421b5010f6d88856496
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/inc/BaseGFXHelper.hxx | 4 | ||||
-rw-r--r-- | chart2/source/inc/InternalData.hxx | 1 | ||||
-rw-r--r-- | chart2/source/tools/BaseGFXHelper.cxx | 8 | ||||
-rw-r--r-- | chart2/source/tools/InternalData.cxx | 14 |
4 files changed, 0 insertions, 27 deletions
diff --git a/chart2/source/inc/BaseGFXHelper.hxx b/chart2/source/inc/BaseGFXHelper.hxx index e4f98670f273..713cccb8ff60 100644 --- a/chart2/source/inc/BaseGFXHelper.hxx +++ b/chart2/source/inc/BaseGFXHelper.hxx @@ -55,10 +55,6 @@ OOO_DLLPUBLIC_CHARTTOOLS com::sun::star::awt::Point B2IRectangleToAWTPoint( OOO_DLLPUBLIC_CHARTTOOLS com::sun::star::awt::Size B2IRectangleToAWTSize( const ::basegfx::B2IRectangle& rB2IRectangle ); -OOO_DLLPUBLIC_CHARTTOOLS -com::sun::star::awt::Rectangle B2IRectangleToAWTRectangle( - const ::basegfx::B2IRectangle& rB2IRectangle ); - ::basegfx::B3DVector Direction3DToB3DVector( const com::sun::star::drawing::Direction3D& rDirection ); diff --git a/chart2/source/inc/InternalData.hxx b/chart2/source/inc/InternalData.hxx index d35d7a58f055..488be162cdad 100644 --- a/chart2/source/inc/InternalData.hxx +++ b/chart2/source/inc/InternalData.hxx @@ -33,7 +33,6 @@ public: InternalData(); void createDefaultData(); - bool isDefaultData(); void setData( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< double > > & rDataInRows ); diff --git a/chart2/source/tools/BaseGFXHelper.cxx b/chart2/source/tools/BaseGFXHelper.cxx index 8b79b68b629b..57f3a77d432f 100644 --- a/chart2/source/tools/BaseGFXHelper.cxx +++ b/chart2/source/tools/BaseGFXHelper.cxx @@ -82,14 +82,6 @@ awt::Size B2IRectangleToAWTSize( const ::basegfx::B2IRectangle& rB2IRectangle ) static_cast< sal_Int32 >( rB2IRectangle.getHeight())); } -awt::Rectangle B2IRectangleToAWTRectangle( - const ::basegfx::B2IRectangle& rB2IRectangle ) -{ - return awt::Rectangle( rB2IRectangle.getMinX(), rB2IRectangle.getMinY(), - static_cast< sal_Int32 >( rB2IRectangle.getWidth()), - static_cast< sal_Int32 >( rB2IRectangle.getHeight())); -} - B3DVector Direction3DToB3DVector( const Direction3D& rDirection ) { return B3DVector( diff --git a/chart2/source/tools/InternalData.cxx b/chart2/source/tools/InternalData.cxx index b0f871bb3ad1..8e19da582462 100644 --- a/chart2/source/tools/InternalData.cxx +++ b/chart2/source/tools/InternalData.cxx @@ -118,20 +118,6 @@ void InternalData::createDefaultData() lcl_NumberedStringGenerator( aColName, "%COLUMNNUMBER" )); } -bool InternalData::isDefaultData() -{ - - if( m_nRowCount == 4 && m_nColumnCount == 3 ) - { - for( sal_Int32 i=0; i<(4*3); ++i ) - if( m_aData[i] != fDefaultData[i] ) - return false; - - return true; - } - return false; -} - void InternalData::setData( const Sequence< Sequence< double > >& rDataInRows ) { m_nRowCount = rDataInRows.getLength(); |