diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-20 13:12:31 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-21 06:50:55 +0000 |
commit | c714b43b0137ad253f51e1c65417c9874b8509e5 (patch) | |
tree | c258269d292ec4b65235357e82a70c3b6f364563 /oox | |
parent | 82b896f1f85b510eb72bb6d2f97d29defe1edf8b (diff) |
loplugin:unusedmethods oox
Change-Id: I5381e0da0efc1f951e248cfcfb35fc680ace94e4
Reviewed-on: https://gerrit.libreoffice.org/17225
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/inc/drawingml/chart/plotareaconverter.hxx | 2 | ||||
-rw-r--r-- | oox/inc/drawingml/chart/seriesconverter.hxx | 8 | ||||
-rw-r--r-- | oox/inc/drawingml/graphicproperties.hxx | 3 | ||||
-rw-r--r-- | oox/inc/drawingml/shape3dproperties.hxx | 3 | ||||
-rw-r--r-- | oox/inc/drawingml/table/tablecell.hxx | 2 | ||||
-rw-r--r-- | oox/inc/drawingml/textparagraphproperties.hxx | 1 | ||||
-rw-r--r-- | oox/source/core/contexthandler.cxx | 8 | ||||
-rw-r--r-- | oox/source/core/fragmenthandler.cxx | 8 | ||||
-rw-r--r-- | oox/source/drawingml/diagram/diagram.hxx | 7 | ||||
-rw-r--r-- | oox/source/drawingml/diagram/diagramlayoutatoms.hxx | 5 | ||||
-rw-r--r-- | oox/source/helper/propertymap.cxx | 9 | ||||
-rw-r--r-- | oox/source/ppt/pptfilterhelpers.hxx | 1 |
12 files changed, 0 insertions, 57 deletions
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<css::io::XInputStream> 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 diff --git a/oox/source/core/contexthandler.cxx b/oox/source/core/contexthandler.cxx index 80986314d6a6..e60506bae70c 100644 --- a/oox/source/core/contexthandler.cxx +++ b/oox/source/core/contexthandler.cxx @@ -114,14 +114,6 @@ void ContextHandler::characters( const OUString& ) throw( SAXException, RuntimeE { } -void ContextHandler::ignorableWhitespace( const OUString& ) throw( SAXException, RuntimeException ) -{ -} - -void ContextHandler::processingInstruction( const OUString&, const OUString& ) throw( SAXException, RuntimeException ) -{ -} - // record context interface --------------------------------------------------- ContextHandlerRef ContextHandler::createRecordContext( sal_Int32, SequenceInputStream& ) diff --git a/oox/source/core/fragmenthandler.cxx b/oox/source/core/fragmenthandler.cxx index 641e0cbc4ef9..ca4a38cb102c 100644 --- a/oox/source/core/fragmenthandler.cxx +++ b/oox/source/core/fragmenthandler.cxx @@ -96,14 +96,6 @@ void FragmentHandler::characters( const OUString& ) throw( SAXException, Runtime { } -void FragmentHandler::ignorableWhitespace( const OUString& ) throw( SAXException, RuntimeException ) -{ -} - -void FragmentHandler::processingInstruction( const OUString&, const OUString& ) throw( SAXException, RuntimeException ) -{ -} - // XML stream handling -------------------------------------------------------- Reference< XInputStream > FragmentHandler::openFragmentStream() const diff --git a/oox/source/drawingml/diagram/diagram.hxx b/oox/source/drawingml/diagram/diagram.hxx index 9ef921516c73..259ca3cb6755 100644 --- a/oox/source/drawingml/diagram/diagram.hxx +++ b/oox/source/drawingml/diagram/diagram.hxx @@ -205,13 +205,10 @@ public: { msMinVer = sMinVer; } void setUniqueId( const OUString & sUniqueId ) { msUniqueId = sUniqueId; } - const OUString & getUniqueId() - { return msUniqueId; } void setTitle( const OUString & sTitle ) { msTitle = sTitle; } void setDesc( const OUString & sDesc ) { msDesc = sDesc; } - LayoutNodePtr & getNode() { return mpNode; } const LayoutNodePtr & getNode() const @@ -273,10 +270,6 @@ public: return mpData; } void setLayout( const DiagramLayoutPtr & ); - DiagramLayoutPtr getLayout() const - { - return mpLayout; - } DiagramQStyleMap& getStyles() { return maStyles; } const DiagramQStyleMap& getStyles() const { return maStyles; } diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.hxx b/oox/source/drawingml/diagram/diagramlayoutatoms.hxx index 6d57510d090c..873d63497556 100644 --- a/oox/source/drawingml/diagram/diagramlayoutatoms.hxx +++ b/oox/source/drawingml/diagram/diagramlayoutatoms.hxx @@ -200,12 +200,7 @@ public: explicit ConditionAtom(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& xAttributes); virtual ~ConditionAtom() { } - bool test(); virtual void accept( LayoutAtomVisitor& ) SAL_OVERRIDE; - IteratorAttr & iterator() - { return maIter; } - ConditionAttr & cond() - { return maCond; } void readElseBranch() { mbElse=true; } virtual void addChild( const LayoutAtomPtr & pNode ) SAL_OVERRIDE; diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx index 6c7fb0bad3ef..efa47dfffdec 100644 --- a/oox/source/helper/propertymap.cxx +++ b/oox/source/helper/propertymap.cxx @@ -942,15 +942,6 @@ void PropertyMap::dumpData(Reference<XPropertySet> xPropertySet) } } -void PropertyMap::dumpCode() -{ - dumpCode( Reference< XPropertySet >( makePropertySet(), UNO_QUERY ) ); -} - -void PropertyMap::dumpData() -{ - dumpData( Reference< XPropertySet >( makePropertySet(), UNO_QUERY ) ); -} #endif } // namespace oox diff --git a/oox/source/ppt/pptfilterhelpers.hxx b/oox/source/ppt/pptfilterhelpers.hxx index 7cbedd304081..49327d6581a6 100644 --- a/oox/source/ppt/pptfilterhelpers.hxx +++ b/oox/source/ppt/pptfilterhelpers.hxx @@ -77,7 +77,6 @@ namespace oox { namespace ppt { bool mbDirection; // true: default geometric direction static const transition* find( const OUString& rName ); - static const sal_Char* find( const sal_Int16 mnType, const sal_Int16 mnSubType, const bool bDirection ); }; // END CUT&PASTE |