diff options
Diffstat (limited to 'forms/source/xforms/computedexpression.hxx')
-rw-r--r-- | forms/source/xforms/computedexpression.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/xforms/computedexpression.hxx b/forms/source/xforms/computedexpression.hxx index 169cd6606077..30b9581c5f4b 100644 --- a/forms/source/xforms/computedexpression.hxx +++ b/forms/source/xforms/computedexpression.hxx @@ -66,7 +66,7 @@ protected: /// allow manipulation of the expression before it is evaluated // the default implementation is to do nothing... - const OUString _getExpressionForEvaluation() const { return msExpression; } + const OUString& _getExpressionForEvaluation() const { return msExpression; } /// obtain a (suitable) XPathAPI implementation static css::uno::Reference<css::xml::xpath::XXPathAPI> _getXPathAPI(const xforms::EvaluationContext& aContext); @@ -82,7 +82,7 @@ public: /// get the expression string - OUString getExpression() const { return msExpression;} + const OUString& getExpression() const { return msExpression;} /// set a new expression string void setExpression( const OUString& rExpression ); |