From fcea2c9acb30fba319bad49d0f5e60b78f1ecacf Mon Sep 17 00:00:00 2001 From: Felix Zhang Date: Wed, 19 Oct 2011 17:59:13 +0800 Subject: [PATCH] remove an unused method --- oox/inc/oox/drawingml/customshapeproperties.hxx | 1 - oox/source/drawingml/customshapeproperties.cxx | 5 ----- unusedcode.easy | 1 - 3 files changed, 7 deletions(-) diff --git a/oox/inc/oox/drawingml/customshapeproperties.hxx b/oox/inc/oox/drawingml/customshapeproperties.hxx index 6b3838b1bccc..1b72daa1fd52 100644 --- a/oox/inc/oox/drawingml/customshapeproperties.hxx +++ b/oox/inc/oox/drawingml/customshapeproperties.hxx @@ -119,7 +119,6 @@ public: CustomShapeProperties(); virtual ~CustomShapeProperties(); - void apply( const CustomShapePropertiesPtr& ); void pushToPropSet( const ::oox::core::FilterBase& rFilterBase, const ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet > & xPropSet, const ::com::sun::star::uno::Reference < ::com::sun::star::drawing::XShape > & xShape) const; diff --git a/oox/source/drawingml/customshapeproperties.cxx b/oox/source/drawingml/customshapeproperties.cxx index 585ec4316d6a..2c9044479a69 100644 --- a/oox/source/drawingml/customshapeproperties.cxx +++ b/oox/source/drawingml/customshapeproperties.cxx @@ -94,11 +94,6 @@ sal_Int32 CustomShapeProperties::GetCustomShapeGuideValue( const std::vector< Cu return nIndex; } -void CustomShapeProperties::apply( const CustomShapePropertiesPtr& /* rSourceCustomShapeProperties */ ) -{ - // not sure if this needs to be implemented -} - CustomShapeProperties::PresetsMap CustomShapeProperties::maPresetsMap; void CustomShapeProperties::pushToPropSet( const ::oox::core::FilterBase& /* rFilterBase */, diff --git a/unusedcode.easy b/unusedcode.easy index b6f16e0d5dce..88a758afa3a9 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -2460,7 +2460,6 @@ oox::drawingml::ChartExport::exportXAxis(oox::drawingml::AxisIdPair) oox::drawingml::ChartExport::exportYAxis(oox::drawingml::AxisIdPair) oox::drawingml::ColorPropertySet::getColor() oox::drawingml::ColorPropertySet::setColor(int) -oox::drawingml::CustomShapeProperties::apply(boost::shared_ptr const&) oox::drawingml::CustomShapeProperties::getValue(std::__debug::vector > const&, unsigned int) const oox::drawingml::Diagram::getLayoutId() const oox::drawingml::DiagramLayout::layout(std::__debug::vector > const&, com::sun::star::awt::Point const&)