diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-20 11:48:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-20 11:48:48 +0200 |
commit | ad278c2b3a83f2fb2896aa048820cab93fddba69 (patch) | |
tree | c3491b65bdd79f120e4db53299c5fb2477d2af72 /basctl/source/inc | |
parent | 6f5c6cf4902c3a4a49567e95ff26260632a8f4e9 (diff) |
loplugin:unusedfields in basctl
and improve the plugin to search for only WARN_UNUSED and fundamental
types
Change-Id: Ic06207758e28d44d64d76d8119fd76b5b098bb05
Diffstat (limited to 'basctl/source/inc')
-rw-r--r-- | basctl/source/inc/bastypes.hxx | 3 | ||||
-rw-r--r-- | basctl/source/inc/managelang.hxx | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx index 52a49b258924..d09a0cc9ea2d 100644 --- a/basctl/source/inc/bastypes.hxx +++ b/basctl/source/inc/bastypes.hxx @@ -273,12 +273,11 @@ public: { private: ScriptDocument m_aDocument; - OUString m_aLibName; OUString m_aCurrentName; ItemType m_eCurrentType; public: - Item (ScriptDocument const&, OUString const& rLibName, OUString const& rCurrentName, ItemType eCurrentType); + Item (ScriptDocument const&, OUString const& rCurrentName, ItemType eCurrentType); ~Item (); const OUString& GetCurrentName() const { return m_aCurrentName; } ItemType GetCurrentType() const { return m_eCurrentType; } diff --git a/basctl/source/inc/managelang.hxx b/basctl/source/inc/managelang.hxx index a9a8eca872e9..14bf40347894 100644 --- a/basctl/source/inc/managelang.hxx +++ b/basctl/source/inc/managelang.hxx @@ -34,14 +34,11 @@ class LocalizationMgr; struct LanguageEntry { - OUString m_sLanguage; css::lang::Locale m_aLocale; bool m_bIsDefault; - LanguageEntry( const OUString& _rLanguage, - const css::lang::Locale& _rLocale, + LanguageEntry( const css::lang::Locale& _rLocale, bool _bIsDefault ) : - m_sLanguage( _rLanguage ), m_aLocale( _rLocale ), m_bIsDefault( _bIsDefault ) {} }; |