diff options
Diffstat (limited to 'configmgr/source/localizedvaluenode.hxx')
-rw-r--r-- | configmgr/source/localizedvaluenode.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configmgr/source/localizedvaluenode.hxx b/configmgr/source/localizedvaluenode.hxx index 08635f875251..98b012ad501e 100644 --- a/configmgr/source/localizedvaluenode.hxx +++ b/configmgr/source/localizedvaluenode.hxx @@ -32,13 +32,19 @@ namespace configmgr { class LocalizedValueNode: public Node { public: + LocalizedValueNode(int layer); LocalizedValueNode(int layer, com::sun::star::uno::Any const & value); virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE; virtual OUString getTemplateName() const SAL_OVERRIDE; - com::sun::star::uno::Any getValue() const { return value_;} + com::sun::star::uno::Any getValue() const { return value_;} + com::sun::star::uno::Any *getValuePtr(int layer) + { + setLayer(layer); + return &value_; + } void setValue(int layer, com::sun::star::uno::Any const & value); |