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/test/sheet | |
parent | Fix typos (diff) | |
download | core-a2751c0795cdac9d78f8919aab319a418b6e0bbc.tar.gz core-a2751c0795cdac9d78f8919aab319a418b6e0bbc.zip |
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/test/sheet')
-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 |
4 files changed, 5 insertions, 5 deletions
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; |