diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-13 15:46:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-13 15:41:42 +0100 |
commit | 17e712ccc8fa93d57672916e3c8adaa8febc9f8c (patch) | |
tree | d62b91c405110bed4b90e93f8cf8237697dceec8 /include | |
parent | 37dc48300cc39e98c398737453e72836618ca2ac (diff) |
Revert "loplugin:constfields in sw"
This reverts commit 4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea.
Change-Id: I527e9366b05e8a20633720e334395b285991c524
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90473
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/test/bootstrapfixture.hxx | 4 | ||||
-rw-r--r-- | include/test/container/xelementaccess.hxx | 2 | ||||
-rw-r--r-- | include/test/container/xindexaccess.hxx | 2 | ||||
-rw-r--r-- | include/test/container/xnamecontainer.hxx | 2 | ||||
-rw-r--r-- | include/test/container/xnamed.hxx | 2 | ||||
-rw-r--r-- | include/test/container/xnamereplace.hxx | 2 | ||||
-rw-r--r-- | include/test/sheet/xformulaquery.hxx | 8 | ||||
-rw-r--r-- | include/test/sheet/xnamedranges.hxx | 2 | ||||
-rw-r--r-- | include/test/sheet/xspreadsheetdocument.hxx | 2 | ||||
-rw-r--r-- | include/test/unoapi_test.hxx | 2 | ||||
-rw-r--r-- | include/test/util/xreplaceable.hxx | 4 | ||||
-rw-r--r-- | include/test/util/xsearchable.hxx | 4 |
12 files changed, 18 insertions, 18 deletions
diff --git a/include/test/bootstrapfixture.hxx b/include/test/bootstrapfixture.hxx index 590c9a7f7e93..84cf1ade2728 100644 --- a/include/test/bootstrapfixture.hxx +++ b/include/test/bootstrapfixture.hxx @@ -42,8 +42,8 @@ enum ValidationFormat // run of unit tests ... class OOO_DLLPUBLIC_TEST BootstrapFixture : public BootstrapFixtureBase { - bool const m_bNeedUCB; - bool const m_bAssertOnDialog; + bool m_bNeedUCB; + bool m_bAssertOnDialog; protected: css::uno::Reference<css::uno::XComponentContext> mxComponentContext; diff --git a/include/test/container/xelementaccess.hxx b/include/test/container/xelementaccess.hxx index d9796a2f6c86..95ee85162da9 100644 --- a/include/test/container/xelementaccess.hxx +++ b/include/test/container/xelementaccess.hxx @@ -36,7 +36,7 @@ protected: ~XElementAccess() {} private: - css::uno::Type const m_aType; + css::uno::Type m_aType; }; } // namespace apitest diff --git a/include/test/container/xindexaccess.hxx b/include/test/container/xindexaccess.hxx index aa4273ded053..64a34b8bf296 100644 --- a/include/test/container/xindexaccess.hxx +++ b/include/test/container/xindexaccess.hxx @@ -36,7 +36,7 @@ protected: ~XIndexAccess() {} private: - sal_Int32 const m_nItems; + sal_Int32 m_nItems; }; } // namespace apitest diff --git a/include/test/container/xnamecontainer.hxx b/include/test/container/xnamecontainer.hxx index 6c0b24d20e0d..221ef2a4473a 100644 --- a/include/test/container/xnamecontainer.hxx +++ b/include/test/container/xnamecontainer.hxx @@ -49,7 +49,7 @@ protected: ~XNameContainer() {} private: - OUString const m_aName; + OUString m_aName; css::uno::Any m_aElement; }; diff --git a/include/test/container/xnamed.hxx b/include/test/container/xnamed.hxx index de8618ce4436..2b323e6f95b9 100644 --- a/include/test/container/xnamed.hxx +++ b/include/test/container/xnamed.hxx @@ -40,7 +40,7 @@ protected: ~XNamed() {} private: - OUString const m_aTestName; + OUString m_aTestName; }; } diff --git a/include/test/container/xnamereplace.hxx b/include/test/container/xnamereplace.hxx index a5e7fe516657..ecf2fac83798 100644 --- a/include/test/container/xnamereplace.hxx +++ b/include/test/container/xnamereplace.hxx @@ -37,7 +37,7 @@ protected: ~XNameReplace() {} private: - OUString const m_aReplacementName; + OUString m_aReplacementName; css::uno::Any m_aReplacementElement; }; diff --git a/include/test/sheet/xformulaquery.hxx b/include/test/sheet/xformulaquery.hxx index 662bc6c90fc6..8382e961a96a 100644 --- a/include/test/sheet/xformulaquery.hxx +++ b/include/test/sheet/xformulaquery.hxx @@ -45,10 +45,10 @@ protected: private: css::uno::Reference<css::table::XCell> m_xCell; - css::table::CellRangeAddress const m_aCellRangeAddressDependents; - css::table::CellRangeAddress const m_aCellRangeAddressPrecedents; - unsigned int const m_nIdxDependents; - unsigned int const m_nIdxPrecedents; + css::table::CellRangeAddress m_aCellRangeAddressDependents; + css::table::CellRangeAddress m_aCellRangeAddressPrecedents; + unsigned int m_nIdxDependents; + unsigned int m_nIdxPrecedents; }; } // namespace apitest diff --git a/include/test/sheet/xnamedranges.hxx b/include/test/sheet/xnamedranges.hxx index 3ce90f8f3401..8d02773f8eaf 100644 --- a/include/test/sheet/xnamedranges.hxx +++ b/include/test/sheet/xnamedranges.hxx @@ -49,7 +49,7 @@ protected: css::uno::Reference<css::sheet::XSpreadsheet> xSheet; private: - OUString const maNameToRemove; + OUString maNameToRemove; }; } // namespace apitest diff --git a/include/test/sheet/xspreadsheetdocument.hxx b/include/test/sheet/xspreadsheetdocument.hxx index ff60815d33dd..8f5662489059 100644 --- a/include/test/sheet/xspreadsheetdocument.hxx +++ b/include/test/sheet/xspreadsheetdocument.hxx @@ -27,7 +27,7 @@ protected: ~XSpreadsheetDocument() {} private: - sal_Int32 const mnSheets; + sal_Int32 mnSheets; }; } diff --git a/include/test/unoapi_test.hxx b/include/test/unoapi_test.hxx index 7d1c64fc50e1..32c20997808f 100644 --- a/include/test/unoapi_test.hxx +++ b/include/test/unoapi_test.hxx @@ -32,7 +32,7 @@ protected: private: - OUString const m_aBaseString; + OUString m_aBaseString; }; #endif // INCLUDED_TEST_UNOAPI_TEST_HXX diff --git a/include/test/util/xreplaceable.hxx b/include/test/util/xreplaceable.hxx index 59716f013eae..9f33feeb5d9d 100644 --- a/include/test/util/xreplaceable.hxx +++ b/include/test/util/xreplaceable.hxx @@ -29,8 +29,8 @@ protected: ~XReplaceable() {} private: - OUString const maSearchString; - OUString const maReplaceString; + OUString maSearchString; + OUString maReplaceString; }; } diff --git a/include/test/util/xsearchable.hxx b/include/test/util/xsearchable.hxx index 9fcbb5d27b88..9f45f051edff 100644 --- a/include/test/util/xsearchable.hxx +++ b/include/test/util/xsearchable.hxx @@ -30,8 +30,8 @@ public: virtual css::uno::Reference< css::uno::XInterface > init() = 0; private: - OUString const maSearchString; - sal_Int32 const mnCount; + OUString maSearchString; + sal_Int32 mnCount; }; } |