summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/registry/dp_backenddb.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/registry/dp_backenddb.cxx')
-rw-r--r--desktop/source/deployment/registry/dp_backenddb.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/registry/dp_backenddb.cxx b/desktop/source/deployment/registry/dp_backenddb.cxx
index 535d9a4ba327..cf3f75b11541 100644
--- a/desktop/source/deployment/registry/dp_backenddb.cxx
+++ b/desktop/source/deployment/registry/dp_backenddb.cxx
@@ -63,7 +63,7 @@ void BackendDb::save()
ucbDb.writeStream(xData, true /*replace existing*/);
}
-css::uno::Reference<css::xml::dom::XDocument> BackendDb::getDocument()
+css::uno::Reference<css::xml::dom::XDocument> const & BackendDb::getDocument()
{
if (!m_doc.is())
{
@@ -106,7 +106,7 @@ css::uno::Reference<css::xml::dom::XDocument> BackendDb::getDocument()
return m_doc;
}
-Reference<css::xml::xpath::XXPathAPI> BackendDb::getXPathAPI()
+Reference<css::xml::xpath::XXPathAPI> const & BackendDb::getXPathAPI()
{
if (!m_xpathApi.is())
{