comphelper/source/container/namecontainer.cxx |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

New commits:
commit 033ff2f9ad739e09e9b0a986ffccb4e908a83212
Author: Arnaud Versini <arnaud.vers...@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.gran...@collabora.co.uk>
    Tested-by: Noel Grandin <noel.gran...@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;
     };
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to