summaryrefslogtreecommitdiff
path: root/configmgr/source/propertynode.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/propertynode.hxx')
-rw-r--r--configmgr/source/propertynode.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/configmgr/source/propertynode.hxx b/configmgr/source/propertynode.hxx
index 9a3f8f91e87e..db6fb926adbf 100644
--- a/configmgr/source/propertynode.hxx
+++ b/configmgr/source/propertynode.hxx
@@ -36,7 +36,7 @@ class PropertyNode: public Node {
public:
PropertyNode(
int layer, Type staticType, bool nillable,
- css::uno::Any const & value, bool extension);
+ css::uno::Any value, bool extension);
virtual rtl::Reference< Node > clone(bool keepTemplateName) const override;
@@ -46,13 +46,15 @@ public:
css::uno::Any const & getValue(Components & components);
- void setValue(int layer, css::uno::Any const & value);
- css::uno::Any *getValuePtr(int layer);
+ void setValue(int layer, css::uno::Any const & value, bool bIsUserModification);
+ css::uno::Any *getValuePtr(int layer, bool bIsUserModification);
void setExternal(int layer, OUString const & descriptor);
bool isExtension() const { return extension_;}
+ bool isModified() const { return modified_;}
+
private:
PropertyNode(PropertyNode const&) = default;
@@ -65,6 +67,8 @@ private:
// TYPE_HEXBINARY_LIST; not TYPE_ERROR or TYPE_NIL)
bool nillable_;
bool extension_;
+ /// Whether the property was modified by the user:
+ bool modified_;
OUString externalDescriptor_;
css::uno::Any value_;
};