summaryrefslogtreecommitdiff
path: root/forms/source/xforms/xpathlib/extension.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/xpathlib/extension.hxx')
-rw-r--r--forms/source/xforms/xpathlib/extension.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/xforms/xpathlib/extension.hxx b/forms/source/xforms/xpathlib/extension.hxx
index a25f60837256..b364a9be1f5b 100644
--- a/forms/source/xforms/xpathlib/extension.hxx
+++ b/forms/source/xforms/xpathlib/extension.hxx
@@ -46,8 +46,8 @@ private:
public:
CLibxml2XFormsExtension() {}
- css::uno::Reference< css::xforms::XModel > getModel() { return m_aModel;}
- css::uno::Reference< css::xml::dom::XNode > getContextNode() { return m_aContextNode;}
+ const css::uno::Reference< css::xforms::XModel >& getModel() { return m_aModel;}
+ const css::uno::Reference< css::xml::dom::XNode >& getContextNode() { return m_aContextNode;}
virtual css::xml::xpath::Libxml2ExtensionHandle SAL_CALL getLibxml2ExtensionHandle() throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any >& aSequence) throw (css::uno::RuntimeException, std::exception) override;