summaryrefslogtreecommitdiff
path: root/framework/inc/helper/propertysetcontainer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/helper/propertysetcontainer.hxx')
-rw-r--r--framework/inc/helper/propertysetcontainer.hxx17
1 files changed, 7 insertions, 10 deletions
diff --git a/framework/inc/helper/propertysetcontainer.hxx b/framework/inc/helper/propertysetcontainer.hxx
index 6ad2dc86cb88..849899784c64 100644
--- a/framework/inc/helper/propertysetcontainer.hxx
+++ b/framework/inc/helper/propertysetcontainer.hxx
@@ -17,12 +17,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_PROPERTYSETCONTAINER_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_PROPERTYSETCONTAINER_HXX
+#pragma once
-/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
- with solaris headers ...
-*/
+#include <sal/config.h>
+
+#include <mutex>
#include <vector>
#include <cppuhelper/weak.hxx>
#include <com/sun/star/container/XIndexContainer.hpp>
@@ -40,8 +39,8 @@ class PropertySetContainer : public css::container::XIndexContainer ,
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
- virtual void SAL_CALL acquire() throw () override;
- virtual void SAL_CALL release() throw () override;
+ virtual void SAL_CALL acquire() noexcept override;
+ virtual void SAL_CALL release() noexcept override;
// XIndexContainer
virtual void SAL_CALL insertByIndex( sal_Int32 Index, const css::uno::Any& Element ) override;
@@ -67,11 +66,9 @@ class PropertySetContainer : public css::container::XIndexContainer ,
private:
typedef std::vector< css::uno::Reference< css::beans::XPropertySet > > PropertySetVector;
PropertySetVector m_aPropertySetVector;
-
+ std::mutex m_aMutex;
};
}
-#endif // __FRAMEWORK_CLASSES_PROPERTYSETCONTAINER_HXX_
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */