diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 15:59:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-07 18:59:55 +0200 |
commit | 2ed35ad17e4f5dd8a329681a92b896fd14850465 (patch) | |
tree | e7d14a16b68441b68902e0e5db87e339bc994b6b /include/test | |
parent | 9f7f7d6cfa379a25730bfe8fb2d4638c08e59b90 (diff) |
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: If18ea216cc3416e4a7e2041e50b5a64b1e90886a
Diffstat (limited to 'include/test')
-rw-r--r-- | include/test/sheet/xdatapilotdescriptor.hxx | 4 | ||||
-rw-r--r-- | include/test/sheet/xdatapilottable2.hxx | 8 | ||||
-rw-r--r-- | include/test/sheet/xspreadsheets2.hxx | 2 | ||||
-rw-r--r-- | include/test/sheet/xstyleloader.hxx | 2 | ||||
-rw-r--r-- | include/test/unoapi_test.hxx | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/include/test/sheet/xdatapilotdescriptor.hxx b/include/test/sheet/xdatapilotdescriptor.hxx index 435049de05e2..9186b52ebb8f 100644 --- a/include/test/sheet/xdatapilotdescriptor.hxx +++ b/include/test/sheet/xdatapilotdescriptor.hxx @@ -39,9 +39,9 @@ protected: ~XDataPilotDescriptor() {} private: - static void testGetDataPilotFields_Impl( css::uno::Reference< css::sheet::XDataPilotDescriptor > xDescr ); + static void testGetDataPilotFields_Impl( css::uno::Reference< css::sheet::XDataPilotDescriptor > const & xDescr ); - static void checkName( css::uno::Reference< css::container::XIndexAccess > xIndex, sal_Int32 nIndex ); + static void checkName( css::uno::Reference< css::container::XIndexAccess > const & xIndex, sal_Int32 nIndex ); static std::vector<OUString> maFieldNames; }; diff --git a/include/test/sheet/xdatapilottable2.hxx b/include/test/sheet/xdatapilottable2.hxx index a67f5c4aa20b..8933379fb5c2 100644 --- a/include/test/sheet/xdatapilottable2.hxx +++ b/include/test/sheet/xdatapilottable2.hxx @@ -38,11 +38,11 @@ public: protected: private: - static bool checkDrillDownSheetContent(css::uno::Reference< css::sheet::XSpreadsheet >, const css::uno::Sequence< css::uno::Sequence < css::uno::Any > >& aData); + static bool checkDrillDownSheetContent(css::uno::Reference< css::sheet::XSpreadsheet > const & xSheet, const css::uno::Sequence< css::uno::Sequence < css::uno::Any > >& aData); - void getOutputRanges(css::uno::Reference< css::sheet::XDataPilotTable2 >); - void buildDataFields(css::uno::Reference< css::sheet::XDataPilotTable2 >); - void buildResultCells(css::uno::Reference< css::sheet::XDataPilotTable2 >); + void getOutputRanges(css::uno::Reference< css::sheet::XDataPilotTable2 > const &); + void buildDataFields(css::uno::Reference< css::sheet::XDataPilotTable2 > const &); + void buildResultCells(css::uno::Reference< css::sheet::XDataPilotTable2 > const &); std::vector< css::table::CellAddress > maResultCells; std::vector< sal_Int32 > maDataFieldDims; diff --git a/include/test/sheet/xspreadsheets2.hxx b/include/test/sheet/xspreadsheets2.hxx index 60774b8c8fc8..bb00b95497db 100644 --- a/include/test/sheet/xspreadsheets2.hxx +++ b/include/test/sheet/xspreadsheets2.hxx @@ -47,7 +47,7 @@ protected: 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 >); + 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 ); diff --git a/include/test/sheet/xstyleloader.hxx b/include/test/sheet/xstyleloader.hxx index 984cde804bf3..02ec28e5bf0e 100644 --- a/include/test/sheet/xstyleloader.hxx +++ b/include/test/sheet/xstyleloader.hxx @@ -33,7 +33,7 @@ public: void testLoadStylesFromDocument(); private: - static void checkStyleProperties(css::uno::Reference< css::style::XStyleFamiliesSupplier > xFamilySupplier); + static void checkStyleProperties(css::uno::Reference< css::style::XStyleFamiliesSupplier > const & xFamilySupplier); protected: ~XStyleLoader() {} diff --git a/include/test/unoapi_test.hxx b/include/test/unoapi_test.hxx index 870f1402ce2b..d728175eaa39 100644 --- a/include/test/unoapi_test.hxx +++ b/include/test/unoapi_test.hxx @@ -29,7 +29,7 @@ public: virtual void tearDown() override; protected: - void closeDocument( css::uno::Reference< css::lang::XComponent > xDocument ); + void closeDocument( css::uno::Reference< css::lang::XComponent > const & xDocument ); private: |