summaryrefslogtreecommitdiff
path: root/configmgr/source/backend/layerupdate.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/backend/layerupdate.hxx')
-rw-r--r--configmgr/source/backend/layerupdate.hxx19
1 files changed, 6 insertions, 13 deletions
diff --git a/configmgr/source/backend/layerupdate.hxx b/configmgr/source/backend/layerupdate.hxx
index 80587159e3..dfedfa9b5a 100644
--- a/configmgr/source/backend/layerupdate.hxx
+++ b/configmgr/source/backend/layerupdate.hxx
@@ -52,37 +52,30 @@ namespace configmgr
// -----------------------------------------------------------------------------
namespace uno = ::com::sun::star::uno;
namespace backenduno = ::com::sun::star::configuration::backend;
-
- using rtl::OUString;
// -----------------------------------------------------------------------------
class NodeUpdate;
- typedef rtl::Reference<NodeUpdate> NodeUpdateRef;
class LayerUpdate
{
public:
- typedef uno::Reference< backenduno::XLayerHandler > LayerWriter;
-
LayerUpdate();
LayerUpdate(LayerUpdate const & _aOther);
~LayerUpdate();
LayerUpdate & operator =(LayerUpdate const & _aOther);
public:
- typedef std::vector<OUString> ContextPath;
-
bool isEmpty() const { return ! m_xContextNode.is(); }
- NodeUpdateRef getContextNode() const;
- ContextPath const & getContextPath() const;
+ rtl::Reference<NodeUpdate> getContextNode() const;
+ std::vector<rtl::OUString> const & getContextPath() const;
- void setContextNode(NodeUpdateRef const & _xContextNode);
+ void setContextNode(rtl::Reference<NodeUpdate> const & _xContextNode);
private:
- void makeContextPath(OUString const & _aContextPath);
+ void makeContextPath(rtl::OUString const & _aContextPath);
private:
- NodeUpdateRef m_xContextNode;
- ContextPath m_aContextPath;
+ rtl::Reference<NodeUpdate> m_xContextNode;
+ std::vector<rtl::OUString> m_aContextPath;
};
// -----------------------------------------------------------------------------