Kaydet (Commit) 631b6795 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedfields in include/toolkit,include/tools

Change-Id: I22966b66b1b8e4dff2e565de456f21a668f33f28
üst a4af308d
......@@ -52,7 +52,6 @@ private:
VclPtr<OutputDevice> mpOutputDevice;
public:
void* pDummy;
sal_uInt32 nFlags;
public:
......
......@@ -33,23 +33,6 @@ class INetMIMEOutputSink;
struct INetContentTypeParameter
{
/** The name of the attribute, in US-ASCII encoding and converted to lower
case. If a parameter value is split as described in RFC 2231, there
will only be one item for the complete parameter, with the attribute
name lacking any section suffix.
*/
OString m_sAttribute;
/** The optional character set specification (see RFC 2231), in US-ASCII
encoding and converted to lower case.
*/
OString m_sCharset;
/** The optional language specification (see RFC 2231), in US-ASCII
encoding and converted to lower case.
*/
OString m_sLanguage;
/** The attribute value. If the value is a quoted-string, it is
'unpacked.' If a character set is specified, and the value can be
converted to Unicode, this is done. Also, if no character set is
......@@ -69,11 +52,6 @@ struct INetContentTypeParameter
*/
OUString m_sValue;
/** This is true if the value is successfully converted to Unicode, and
false if the value is a special mixture of ISO-LATIN-1 characters and
characters from Unicode's Private Use Area.
*/
bool m_bConverted;
};
// the key is the m_sAttribute again; all keys are lower case:
......
......@@ -31,12 +31,6 @@
namespace utl {
struct AtomDescription
{
int atom;
OUString description;
};
class AtomProvider
{
int m_nAtoms;
......
......@@ -43,8 +43,7 @@
// class VCLXDevice
VCLXDevice::VCLXDevice()
: pDummy(nullptr)
, nFlags(0)
: nFlags(0)
{
}
......
......@@ -690,8 +690,7 @@ bool parseParameters(ParameterList const & rInput,
}
auto const ret = pOutput->insert(
{p->m_aAttribute,
{p->m_aAttribute, p->m_aCharset, p->m_aLanguage, aValue,
!bBadEncoding}});
{aValue}});
SAL_INFO_IF(!ret.second, "tools",
"INetMIME: dropping duplicate parameter: " << p->m_aAttribute);
p = pNext;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment