summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-11-04 07:25:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-04 09:07:32 +0100
commita373a7c1705b9abc5551388998131dacc4698642 (patch)
tree420000807fcdd0045f890bd24134aa9afe6fc088 /include
parent70833f9f9dd6133f0517623ad90dcead5077e6e3 (diff)
remove pimpl in PropertyBag
Change-Id: Ibf34c0d9a3090c190a63f63ba9bd661263aebae6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105276 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/propertybag.hxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/comphelper/propertybag.hxx b/include/comphelper/propertybag.hxx
index 0bd7eb020e01..3cf9de9ff360 100644
--- a/include/comphelper/propertybag.hxx
+++ b/include/comphelper/propertybag.hxx
@@ -21,18 +21,17 @@
#define INCLUDED_COMPHELPER_PROPERTYBAG_HXX
#include <config_options.h>
+#include <com/sun/star/uno/Any.h>
#include <comphelper/comphelperdllapi.h>
#include <comphelper/propertycontainerhelper.hxx>
-#include <memory>
+#include <map>
namespace comphelper
{
- struct PropertyBag_Impl;
-
//= PropertyBag
/** provides a bag of properties associated with their values
@@ -42,9 +41,8 @@ namespace comphelper
*/
class UNLESS_MERGELIBS(COMPHELPER_DLLPUBLIC) PropertyBag final : protected OPropertyContainerHelper
{
- private:
- ::std::unique_ptr< PropertyBag_Impl > m_pImpl;
-
+ std::map< sal_Int32, css::uno::Any > aDefaults;
+ bool m_bAllowEmptyPropertyName;
public:
PropertyBag();
virtual ~PropertyBag();