chart2/source/inc/BaseGFXHelper.hxx | 4 ---- chart2/source/inc/InternalData.hxx | 1 - chart2/source/tools/BaseGFXHelper.cxx | 8 -------- chart2/source/tools/InternalData.cxx | 14 -------------- unusedcode.easy | 2 -- 5 files changed, 29 deletions(-)
New commits: commit a6fb1e8885065ae8229b955bb3c23f4d1209af6a Author: Noel Grandin <[email protected]> Date: Tue Nov 4 11:49:53 2014 +0200 remove some unused code in chart2 Change-Id: I99afd30ad413b57d27c89421b5010f6d88856496 diff --git a/chart2/source/inc/BaseGFXHelper.hxx b/chart2/source/inc/BaseGFXHelper.hxx index e4f9867..713cccb 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 d35d7a5..488be16 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 8b79b68..57f3a77 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 b0f871bb..8e19da5 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(); diff --git a/unusedcode.easy b/unusedcode.easy index c3ca2a4..31486fb 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -166,9 +166,7 @@ apitest::XTextContent::testGetAnchor() apitest::XTextField::testGetPresentation() basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon const&) canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&) -chart::BaseGFXHelper::B2IRectangleToAWTRectangle(basegfx::B2IRange const&) chart::ChartTypeUnoDlg::Create(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) -chart::InternalData::isDefaultData() chart::ShapeToolbarController::create(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) comphelper::OAccessibleImplementationAccess::setStateBit(short, bool) comphelper::ThreadPool::getSharedOptimalPool() _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
