summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/computedexpression.cxx2
-rw-r--r--forms/source/xforms/computedexpression.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/xforms/computedexpression.cxx b/forms/source/xforms/computedexpression.cxx
index cb8cb9e99ab7..4739924b8d53 100644
--- a/forms/source/xforms/computedexpression.cxx
+++ b/forms/source/xforms/computedexpression.cxx
@@ -184,7 +184,7 @@ void ComputedExpression::clear()
mxResult.clear();
}
-Reference<XXPathObject> ComputedExpression::getXPath()
+Reference<XXPathObject> ComputedExpression::getXPath() const
{
return mxResult;
}
diff --git a/forms/source/xforms/computedexpression.hxx b/forms/source/xforms/computedexpression.hxx
index 316571d906ba..528bda5e457f 100644
--- a/forms/source/xforms/computedexpression.hxx
+++ b/forms/source/xforms/computedexpression.hxx
@@ -128,7 +128,7 @@ public:
// get the result of this expression as string/bool/...
// (Results will be based on the last call of evaluate(..). The caller
// must call evaluate to ensure current results.)
- com::sun::star::uno::Reference<com::sun::star::xml::xpath::XXPathObject> getXPath();
+ com::sun::star::uno::Reference<com::sun::star::xml::xpath::XXPathObject> getXPath() const;
bool getBool( bool bDefault = false ) const;
rtl::OUString getString( const rtl::OUString& rDefault = rtl::OUString() ) const;