[Libreoffice-commits] core.git: comphelper/source
Arnaud Versini
arnaud.versini at gmail.com
Mon Dec 12 12:19:08 UTC 2016
comphelper/source/container/namecontainer.cxx | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
New commits:
commit 033ff2f9ad739e09e9b0a986ffccb4e908a83212
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date: Sat Dec 10 13:36:59 2016 +0100
comphelper: cleanup class NameContainer.
Remove useless class NameContainerImpl.
Change-Id: I3066abea69ed68d597aeecdd6b3ec7264f7ebe9c
Reviewed-on: https://gerrit.libreoffice.org/31830
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/comphelper/source/container/namecontainer.cxx b/comphelper/source/container/namecontainer.cxx
index 1b2641f..0332cd2 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;
};
}
More information about the Libreoffice-commits
mailing list