diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-06 14:50:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-07 12:07:39 +0100 |
commit | 9610bab09361f506fd7b1a5f81d796a1f2c8afe4 (patch) | |
tree | a548ba147b488ea60230e27b62a57121836e113d /sc/qa | |
parent | b35bb38f18fd94aa67af944f76b820d59380b78b (diff) |
loplugin:constparams in sd
Change-Id: Id4b68ca0509111396ed354f4cda43d663083cad0
Reviewed-on: https://gerrit.libreoffice.org/44388
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/extras/htmlexporttest.cxx | 2 | ||||
-rw-r--r-- | sc/qa/unit/helper/qahelper.cxx | 2 | ||||
-rw-r--r-- | sc/qa/unit/helper/qahelper.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/qa/extras/htmlexporttest.cxx b/sc/qa/extras/htmlexporttest.cxx index e264d7b2c28a..23901fb485b8 100644 --- a/sc/qa/extras/htmlexporttest.cxx +++ b/sc/qa/extras/htmlexporttest.cxx @@ -43,7 +43,7 @@ class ScHTMLExportTest : public test::BootstrapFixture, public unotest::MacrosTe mxComponent = loadFromDesktop(m_directories.getURLFromSrc(pDir) + OUString::createFromAscii(pName), "com.sun.star.comp.Calc.SpreadsheetDocument"); } - void save(const OUString& aFilterName, TempFile& rTempFile) + void save(const OUString& aFilterName, TempFile const & rTempFile) { Reference<XStorable> xStorable(mxComponent, UNO_QUERY); MediaDescriptor aMediaDescriptor; diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx index b767829086d8..5f4f56dccb11 100644 --- a/sc/qa/unit/helper/qahelper.cxx +++ b/sc/qa/unit/helper/qahelper.cxx @@ -723,7 +723,7 @@ std::shared_ptr<utl::TempFile> ScBootstrapFixture::exportTo( ScDocShell* pShell, return pTempFile; } -void ScBootstrapFixture::miscRowHeightsTest( TestParam* aTestValues, unsigned int numElems ) +void ScBootstrapFixture::miscRowHeightsTest( TestParam const * aTestValues, unsigned int numElems ) { for ( unsigned int index=0; index<numElems; ++index ) { diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx index 5226478e3411..1dc8e50a6b2e 100644 --- a/sc/qa/unit/helper/qahelper.hxx +++ b/sc/qa/unit/helper/qahelper.hxx @@ -242,7 +242,7 @@ public: static std::shared_ptr<utl::TempFile> exportTo( ScDocShell* pShell, sal_Int32 nFormat ); - void miscRowHeightsTest( TestParam* aTestValues, unsigned int numElems ); + void miscRowHeightsTest( TestParam const * aTestValues, unsigned int numElems ); }; #define ASSERT_DOUBLES_EQUAL( expected, result ) \ |