diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-17 21:41:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-18 14:48:51 +0200 |
commit | 16d9d1d1122bbf9f6dc0748b41826a59a8551716 (patch) | |
tree | 0252fe6ebf630f9023c2840713bfc1906bcc36dd /include | |
parent | e98694bd787ead49b08e8490999cae0122626d40 (diff) |
new loplugin:unusedvarsglobal
I copied and modified the unusedfields plugin to find unused
variables.
Change-Id: I18ed6daa202da70a2e564e4fe4760aed7ce070ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100891
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/flditem.hxx | 1 | ||||
-rw-r--r-- | include/vcl/EnumContext.hxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx index 2f44c8e2522b..59bb1c54e667 100644 --- a/include/editeng/flditem.hxx +++ b/include/editeng/flditem.hxx @@ -40,7 +40,6 @@ class MetaAction; class EDITENG_DLLPUBLIC SvxFieldData { public: - static const sal_Int32 UNKNOWN_FIELD; static SvxFieldData* Create(const css::uno::Reference<css::text::XTextContent>& xContent); diff --git a/include/vcl/EnumContext.hxx b/include/vcl/EnumContext.hxx index 3609640fe17f..1c356979d858 100644 --- a/include/vcl/EnumContext.hxx +++ b/include/vcl/EnumContext.hxx @@ -136,7 +136,6 @@ public: wildcards we introduce an integer evaluation for matches. */ const static sal_Int32 NoMatch; - const static sal_Int32 OptimalMatch; static Application GetApplicationEnum (const OUString& rsApplicationName); static const OUString& GetApplicationName (const Application eApplication); |