summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2016-12-10 13:36:59 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-12 12:18:28 +0000
commit033ff2f9ad739e09e9b0a986ffccb4e908a83212 (patch)
tree47a0a628014e6211497d461cd03ce39861cd82a4 /comphelper
parent02ed1924eb34e8ea13da8337c12b127f81211770 (diff)
comphelper: cleanup class NameContainer.
Remove useless class NameContainerImpl. Change-Id: I3066abea69ed68d597aeecdd6b3ec7264f7ebe9c Reviewed-on: https://gerrit.libreoffice.org/31830 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/container/namecontainer.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/comphelper/source/container/namecontainer.cxx b/comphelper/source/container/namecontainer.cxx
index 1b2641f0af26..0332cd29f90c 100644
--- a/comphelper/source/container/namecontainer.cxx
+++ b/comphelper/source/container/namecontainer.cxx
@@ -31,14 +31,8 @@ typedef std::map<OUString, css::uno::Any> SvGenericNameContainerMapImpl;
namespace comphelper
{
- class NameContainerImpl
- {
- public:
- osl::Mutex maMutex;
- };
-
/** this is the base helper class for NameContainer thats also declared in this header. */
- class NameContainer : public ::cppu::WeakImplHelper< css::container::XNameContainer >, private NameContainerImpl
+ class NameContainer : public ::cppu::WeakImplHelper< css::container::XNameContainer >
{
public:
explicit NameContainer( css::uno::Type aType );
@@ -74,6 +68,7 @@ namespace comphelper
private:
SvGenericNameContainerMapImpl maProperties;
const css::uno::Type maType;
+ osl::Mutex maMutex;
};
}