From c42cf09f17e683d7487b8b298bd2f5ff3587bf00 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 13 Mar 2020 20:49:04 +0200 Subject: Revert "loplugin:constfields in tools" This reverts commit 833c4965fc0941ea997852e3d99dcd7688e58c14. Change-Id: I130a91538627f9e83d94615e2ddd48da5a075d4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90517 Tested-by: Jenkins Reviewed-by: Noel Grandin --- tools/source/fsys/urlobj.cxx | 20 ++++++++++---------- tools/source/inet/inetmime.cxx | 14 +++++++------- tools/source/reversemap/bestreversemap.cxx | 2 +- tools/source/xml/XmlWriter.cxx | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) (limited to 'tools') diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index be9dadeb8043..8818f548da29 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -291,14 +291,14 @@ struct INetURLObject::SchemeInfo { char const * m_pScheme; char const * m_pPrefix; - bool const m_bAuthority; - bool const m_bUser; - bool const m_bAuth; - bool const m_bPassword; - bool const m_bHost; - bool const m_bPort; - bool const m_bHierarchical; - bool const m_bQuery; + bool m_bAuthority; + bool m_bUser; + bool m_bAuth; + bool m_bPassword; + bool m_bHost; + bool m_bPort; + bool m_bHierarchical; + bool m_bQuery; }; struct INetURLObject::PrefixInfo @@ -307,8 +307,8 @@ struct INetURLObject::PrefixInfo char const * m_pPrefix; char const * m_pTranslatedPrefix; - INetProtocol const m_eScheme; - Kind const m_eKind; + INetProtocol m_eScheme; + Kind m_eKind; }; // static diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index cc9d0c1e94fc..fd00fe3a4603 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -252,12 +252,12 @@ void appendISO88591(OUStringBuffer & rText, char const * pBegin, struct Parameter { - OString const m_aAttribute; - OString const m_aCharset; - OString const m_aLanguage; - OString const m_aValue; - sal_uInt32 const m_nSection; - bool const m_bExtended; + OString m_aAttribute; + OString m_aCharset; + OString m_aLanguage; + OString m_aValue; + sal_uInt32 m_nSection; + bool m_bExtended; bool operator<(const Parameter& rhs) const // is used by std::list::sort { @@ -741,7 +741,7 @@ bool equalIgnoreCase(const char * pBegin1, struct EncodingEntry { char const * m_aName; - rtl_TextEncoding const m_eEncoding; + rtl_TextEncoding m_eEncoding; }; // The source for the following table is