diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-07 18:47:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-08 09:30:23 +0200 |
commit | c83a8071666af2f8e96a4b1808d7650ba112f931 (patch) | |
tree | 377448701e379846d7f25d641a875eac283339a5 /codemaker | |
parent | c2f318c6e57bf7b5d3b3c1cb19846e5261080daa (diff) |
loplugin:unusedfields
Change-Id: I9ae44279f1cce06bd6868005fbb878ba4894aed7
Reviewed-on: https://gerrit.libreoffice.org/58706
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/cppumaker/dependencies.cxx | 7 | ||||
-rw-r--r-- | codemaker/source/cppumaker/dependencies.hxx | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/codemaker/source/cppumaker/dependencies.cxx b/codemaker/source/cppumaker/dependencies.cxx index aed0df3d944b..d32ac98396a0 100644 --- a/codemaker/source/cppumaker/dependencies.cxx +++ b/codemaker/source/cppumaker/dependencies.cxx @@ -43,8 +43,7 @@ Dependencies::Dependencies( m_byteDependency(false), m_shortDependency(false), m_unsignedShortDependency(false), m_longDependency(false), m_unsignedLongDependency(false), m_hyperDependency(false), - m_unsignedHyperDependency(false), m_floatDependency(false), - m_doubleDependency(false), m_charDependency(false), + m_unsignedHyperDependency(false), m_charDependency(false), m_stringDependency(false), m_typeDependency(false), m_anyDependency(false), m_sequenceDependency(false) { @@ -168,10 +167,8 @@ Dependencies::Dependencies( m_unsignedHyperDependency = true; break; case unoidl::ConstantValue::TYPE_FLOAT: - m_floatDependency = true; break; case unoidl::ConstantValue::TYPE_DOUBLE: - m_doubleDependency = true; break; } } @@ -251,10 +248,8 @@ void Dependencies::insert(OUString const & name, Kind kind) { m_unsignedHyperDependency = true; break; case UnoType::Sort::Float: - m_floatDependency = true; break; case UnoType::Sort::Double: - m_doubleDependency = true; break; case UnoType::Sort::Char: m_charDependency = true; diff --git a/codemaker/source/cppumaker/dependencies.hxx b/codemaker/source/cppumaker/dependencies.hxx index c7eae1dfc6b6..5e7adb442024 100644 --- a/codemaker/source/cppumaker/dependencies.hxx +++ b/codemaker/source/cppumaker/dependencies.hxx @@ -114,8 +114,6 @@ private: bool m_unsignedLongDependency; bool m_hyperDependency; bool m_unsignedHyperDependency; - bool m_floatDependency; - bool m_doubleDependency; bool m_charDependency; bool m_stringDependency; bool m_typeDependency; |