From c714b43b0137ad253f51e1c65417c9874b8509e5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Jul 2015 13:12:31 +0200 Subject: loplugin:unusedmethods oox Change-Id: I5381e0da0efc1f951e248cfcfb35fc680ace94e4 Reviewed-on: https://gerrit.libreoffice.org/17225 Tested-by: Jenkins Reviewed-by: Noel Grandin --- oox/inc/drawingml/chart/plotareaconverter.hxx | 2 -- oox/inc/drawingml/chart/seriesconverter.hxx | 8 -------- oox/inc/drawingml/graphicproperties.hxx | 3 --- oox/inc/drawingml/shape3dproperties.hxx | 3 --- oox/inc/drawingml/table/tablecell.hxx | 2 -- oox/inc/drawingml/textparagraphproperties.hxx | 1 - 6 files changed, 19 deletions(-) (limited to 'oox/inc') diff --git a/oox/inc/drawingml/chart/plotareaconverter.hxx b/oox/inc/drawingml/chart/plotareaconverter.hxx index 24653d1b550d..fd95cde7b184 100644 --- a/oox/inc/drawingml/chart/plotareaconverter.hxx +++ b/oox/inc/drawingml/chart/plotareaconverter.hxx @@ -95,8 +95,6 @@ public: /** Returns the automatic chart title if the chart contains only one series. */ const OUString& getAutomaticTitle() const { return maAutoTitle; } - /** Returns true, if the chart is three-dimensional. */ - bool is3dChart() const { return mb3dChart; } /** Returns true, if chart type supports wall and floor format in 3D mode. */ bool isWall3dChart() const { return mbWall3dChart; } diff --git a/oox/inc/drawingml/chart/seriesconverter.hxx b/oox/inc/drawingml/chart/seriesconverter.hxx index d36468cbf2d2..9971a55f57de 100644 --- a/oox/inc/drawingml/chart/seriesconverter.hxx +++ b/oox/inc/drawingml/chart/seriesconverter.hxx @@ -49,14 +49,6 @@ public: void convertFromModel( const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries >& rxDataSeries, const TypeGroupConverter& rTypeGroup ); - - /** Conversion helper for data series and data points. */ - static void convertLabelFormatting( - PropertySet& rPropSet, - ObjectFormatter& rFormatter, - const DataLabelModelBase& rDataLabel, - const TypeGroupConverter& rTypeGroup, - bool bDataSeriesLabel ); }; diff --git a/oox/inc/drawingml/graphicproperties.hxx b/oox/inc/drawingml/graphicproperties.hxx index b89d3b95a80f..a834681e5331 100644 --- a/oox/inc/drawingml/graphicproperties.hxx +++ b/oox/inc/drawingml/graphicproperties.hxx @@ -41,9 +41,6 @@ struct GraphicProperties OUString m_sMediaPackageURL; ///< Audio/Video URL. css::uno::Reference m_xMediaStream; ///< Audio/Video input stream. - /** Overwrites all members that are explicitly set in rSourceProps. */ - void assignUsed( const GraphicProperties& rSourceProps ); - /** Writes the properties to the passed property map. */ void pushToPropMap( PropertyMap& rPropMap, diff --git a/oox/inc/drawingml/shape3dproperties.hxx b/oox/inc/drawingml/shape3dproperties.hxx index d3e491b29eba..8896c115573d 100644 --- a/oox/inc/drawingml/shape3dproperties.hxx +++ b/oox/inc/drawingml/shape3dproperties.hxx @@ -70,9 +70,6 @@ struct Shape3DProperties OptValue< BevelProperties > maTopBevelProperties; OptValue< BevelProperties > maBottomBevelProperties; - /** Overwrites all members that are explicitly set in rSourceProps. */ - void assignUsed( const Shape3DProperties& rSourceProps ); - static OUString getCameraPrstName( sal_Int32 nElement ); static OUString getLightRigName( sal_Int32 nElement ); static OUString getLightRigDirName( sal_Int32 nElement ); diff --git a/oox/inc/drawingml/table/tablecell.hxx b/oox/inc/drawingml/table/tablecell.hxx index e6502104ffc8..f5916c4b5567 100644 --- a/oox/inc/drawingml/table/tablecell.hxx +++ b/oox/inc/drawingml/table/tablecell.hxx @@ -68,9 +68,7 @@ public: void setVertToken( sal_Int32 nToken ){ mnVertToken = nToken; }; sal_Int32 getAnchorToken() const { return mnAnchorToken; }; void setAnchorToken( sal_Int32 nToken ){ mnAnchorToken = nToken; }; - bool getAnchorCtr() const { return mbAnchorCtr; }; void setAnchorCtr( bool bAnchorCtr ){ mbAnchorCtr = bAnchorCtr; }; - sal_Int32 getHorzOverflowToken() const { return mnHorzOverflowToken; }; void setHorzOverflowToken( sal_Int32 nToken ){ mnHorzOverflowToken = nToken; }; void setTextBody( const oox::drawingml::TextBodyPtr& pTextBody ){ mpTextBody = pTextBody; }; diff --git a/oox/inc/drawingml/textparagraphproperties.hxx b/oox/inc/drawingml/textparagraphproperties.hxx index c81fa293c068..b7309ba07ae0 100644 --- a/oox/inc/drawingml/textparagraphproperties.hxx +++ b/oox/inc/drawingml/textparagraphproperties.hxx @@ -101,7 +101,6 @@ public: void pushToPropSet( const ::oox::core::XmlFilterBase* pFilterBase, const ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet > & xPropSet, PropertyMap& rioBulletList, const BulletList* pMasterBuList, bool bApplyBulletList, float fFontSize, bool bPushDefaultValues = false ) const; - void pushToPropSet( const ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet > & xPropSet) const; /** Returns the largest character size of this paragraph. If possible the masterstyle should have been applied before, otherwise the character -- cgit