diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 12:23:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-16 07:26:27 +0100 |
commit | a2751c0795cdac9d78f8919aab319a418b6e0bbc (patch) | |
tree | 1396e27bd0e86536b9a29f08192f3d7eaeff2c8a /include | |
parent | a04340a08c9f2a0e7208f3109fbcc97ab19fccb3 (diff) |
loplugin:staticmethods improvement
Change-Id: I8889ce8a7d2309b54454cfe4c6421282e1c6e755
Reviewed-on: https://gerrit.libreoffice.org/63434
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/export/drawingml.hxx | 2 | ||||
-rw-r--r-- | include/svtools/ServerDetailsControls.hxx | 2 | ||||
-rw-r--r-- | include/test/sheet/xdocumentauditing.hxx | 4 | ||||
-rw-r--r-- | include/test/sheet/xmultipleoperation.hxx | 2 | ||||
-rw-r--r-- | include/test/sheet/xsheetcellrangecontainer.hxx | 2 | ||||
-rw-r--r-- | include/test/sheet/xspreadsheets2.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/animexp.hxx | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx index 5e784ca2663f..24adf475be16 100644 --- a/include/oox/export/drawingml.hxx +++ b/include/oox/export/drawingml.hxx @@ -257,7 +257,7 @@ public: void WriteShape3DEffects( const css::uno::Reference< css::beans::XPropertySet >& rXPropSet ); void WriteArtisticEffect( const css::uno::Reference< css::beans::XPropertySet >& rXPropSet ); OString WriteWdpPicture( const OUString& rFileId, const css::uno::Sequence< sal_Int8 >& rPictureData ); - bool IsGroupShape( const css::uno::Reference< css::drawing::XShape >& rXShape ) const; + static bool IsGroupShape( const css::uno::Reference< css::drawing::XShape >& rXShape ); sal_Int32 getBulletMarginIndentation (const css::uno::Reference< css::beans::XPropertySet >& rXPropSet,sal_Int16 nLevel, const OUString& propName); static void ResetCounters(); diff --git a/include/svtools/ServerDetailsControls.hxx b/include/svtools/ServerDetailsControls.hxx index 7e1a302c421b..adef4696901c 100644 --- a/include/svtools/ServerDetailsControls.hxx +++ b/include/svtools/ServerDetailsControls.hxx @@ -50,7 +50,7 @@ class DetailsContainer protected: void notifyChange( ); DECL_LINK(ValueChangeHdl, weld::Entry&, void); - DECL_LINK(FormatPortHdl, weld::SpinButton&, void); + DECL_STATIC_LINK(DetailsContainer, FormatPortHdl, weld::SpinButton&, void); }; class HostDetailsContainer : public DetailsContainer diff --git a/include/test/sheet/xdocumentauditing.hxx b/include/test/sheet/xdocumentauditing.hxx index 71fe119980cf..5c19446ca252 100644 --- a/include/test/sheet/xdocumentauditing.hxx +++ b/include/test/sheet/xdocumentauditing.hxx @@ -36,8 +36,8 @@ protected: private: bool hasRightAmountOfShapes(const css::uno::Reference<css::drawing::XDrawPage>& xDrawPage, sal_Int32 nElementCount, sal_Int32 nShapes); - void dispatch(const css::uno::Reference<css::frame::XFrame>& xFrame, - const css::uno::Sequence<css::beans::PropertyValue>& rArguments); + static void dispatch(const css::uno::Reference<css::frame::XFrame>& xFrame, + const css::uno::Sequence<css::beans::PropertyValue>& rArguments); css::awt::Point m_Position; }; } // namespace apitest diff --git a/include/test/sheet/xmultipleoperation.hxx b/include/test/sheet/xmultipleoperation.hxx index b775ddfcb324..107902da1ae7 100644 --- a/include/test/sheet/xmultipleoperation.hxx +++ b/include/test/sheet/xmultipleoperation.hxx @@ -30,7 +30,7 @@ protected: ~XMultipleOperation() {} private: - void fillCells(css::uno::Reference<css::sheet::XSpreadsheet> const&); + static void fillCells(css::uno::Reference<css::sheet::XSpreadsheet> const&); }; } diff --git a/include/test/sheet/xsheetcellrangecontainer.hxx b/include/test/sheet/xsheetcellrangecontainer.hxx index 8164da251975..734c2c4e2fc1 100644 --- a/include/test/sheet/xsheetcellrangecontainer.hxx +++ b/include/test/sheet/xsheetcellrangecontainer.hxx @@ -30,7 +30,7 @@ public: protected: ~XSheetCellRangeContainer() {} - css::uno::Sequence<com::sun::star::table::CellRangeAddress> createCellRangeAddresses(); + static css::uno::Sequence<com::sun::star::table::CellRangeAddress> createCellRangeAddresses(); }; } diff --git a/include/test/sheet/xspreadsheets2.hxx b/include/test/sheet/xspreadsheets2.hxx index 345fa8b37eb7..e3928d349efb 100644 --- a/include/test/sheet/xspreadsheets2.hxx +++ b/include/test/sheet/xspreadsheets2.hxx @@ -49,7 +49,7 @@ private: css::uno::Reference< css::sheet::XSpreadsheetDocument> getDoc(const OUString&, css::uno::Reference< css::lang::XComponent >&); static css::uno::Reference< css::sheet::XNamedRanges> getNamedRanges(css::uno::Reference< css::sheet::XSpreadsheetDocument > const &); void importSheetToCopy(); - bool isExternalReference(const OUString& aDestContent, const OUString& aSrcContent ); + static bool isExternalReference(const OUString& aDestContent, const OUString& aSrcContent ); css::uno::Reference< css::sheet::XSpreadsheetDocument> xDestDoc; css::uno::Reference< css::sheet::XSpreadsheet > xDestSheet; diff --git a/include/xmloff/animexp.hxx b/include/xmloff/animexp.hxx index 8822dce490fd..78c23e416c66 100644 --- a/include/xmloff/animexp.hxx +++ b/include/xmloff/animexp.hxx @@ -36,7 +36,7 @@ public: XMLAnimationsExporter( XMLShapeExport* pShapeExp ); virtual ~XMLAnimationsExporter() override; - void prepare( const css::uno::Reference< css::drawing::XShape >& xShape ); + static void prepare( const css::uno::Reference< css::drawing::XShape >& xShape ); void collect( const css::uno::Reference< css::drawing::XShape >& xShape, SvXMLExport& rExport ); void exportAnimations( SvXMLExport& rExport ); }; |