cppcheck: can be const
This commit is contained in:
parent
13b846d2a3
commit
e59df5cb6c
2 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ void ComputedExpression::clear()
|
|||
mxResult.clear();
|
||||
}
|
||||
|
||||
Reference<XXPathObject> ComputedExpression::getXPath()
|
||||
Reference<XXPathObject> ComputedExpression::getXPath() const
|
||||
{
|
||||
return mxResult;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue