diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-25 10:24:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-27 07:34:52 +0100 |
commit | 19240f625f8bd7b772481abc8e678d7b0fadd921 (patch) | |
tree | df98eb1d1d2bf11179aea13de58aa38548458b9d /forms/source/xforms/NameContainer.hxx | |
parent | 60c7725a20ff0d77e3025ed60608f57d46e50b58 (diff) |
loplugin:unusedfields look for classes where we can make all the..
fields private
Change-Id: Id3c6b123f06ab5dcf87628de4c347626110d2d27
Reviewed-on: https://gerrit.libreoffice.org/68302
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source/xforms/NameContainer.hxx')
-rw-r--r-- | forms/source/xforms/NameContainer.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/NameContainer.hxx b/forms/source/xforms/NameContainer.hxx index 07656745f006..8a7a89e445c1 100644 --- a/forms/source/xforms/NameContainer.hxx +++ b/forms/source/xforms/NameContainer.hxx @@ -40,10 +40,10 @@ typedef cppu::WeakImplHelper< template<class T> class NameContainer : public NameContainer_t { -protected: typedef std::map<OUString,T> map_t; map_t maItems; +protected: typename map_t::const_iterator findItem( const OUString& rName ) { return maItems.find( rName ); |