diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-13 20:49:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-15 16:28:03 +0100 |
commit | c42cf09f17e683d7487b8b298bd2f5ff3587bf00 (patch) | |
tree | fe2f8f88435b0a26cbced67dc389d0eb5e06e515 /tools | |
parent | eb17993e235e6cec9342a77756851992295da9db (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/fsys/urlobj.cxx | 20 | ||||
-rw-r--r-- | tools/source/inet/inetmime.cxx | 14 | ||||
-rw-r--r-- | tools/source/reversemap/bestreversemap.cxx | 2 | ||||
-rw-r--r-- | tools/source/xml/XmlWriter.cxx | 2 |
4 files changed, 19 insertions, 19 deletions
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<Parameter>::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 <ftp://ftp.iana.org/in-notes/iana/ diff --git a/tools/source/reversemap/bestreversemap.cxx b/tools/source/reversemap/bestreversemap.cxx index e2b51bf5c000..02a81932b3f2 100644 --- a/tools/source/reversemap/bestreversemap.cxx +++ b/tools/source/reversemap/bestreversemap.cxx @@ -17,7 +17,7 @@ namespace { struct Encoder { - rtl_UnicodeToTextConverter const m_aConverter; + rtl_UnicodeToTextConverter m_aConverter; bool m_bCapable; const char *m_pEncoding; Encoder(rtl_TextEncoding nEncoding, const char *pEncoding) diff --git a/tools/source/xml/XmlWriter.cxx b/tools/source/xml/XmlWriter.cxx index a314eed6e940..eaea3d9c15e4 100644 --- a/tools/source/xml/XmlWriter.cxx +++ b/tools/source/xml/XmlWriter.cxx @@ -40,7 +40,7 @@ struct XmlWriterImpl { } - SvStream* const mpStream; + SvStream* mpStream; xmlTextWriterPtr mpWriter; bool mbWriteXmlHeader; }; |