summaryrefslogtreecommitdiff
path: root/framework/source/services/substitutepathvars.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/services/substitutepathvars.cxx')
-rw-r--r--framework/source/services/substitutepathvars.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index 0e611e607d6f..b46cb213821f 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -274,7 +274,7 @@ protected:
throw (css::container::NoSuchElementException, css::uno::RuntimeException);
OUString impl_reSubstituteVariables( const OUString& aText )
throw (css::uno::RuntimeException);
- OUString impl_getSubstituteVariableValue( const OUString& variable )
+ OUString const & impl_getSubstituteVariableValue( const OUString& variable )
throw (css::container::NoSuchElementException, css::uno::RuntimeException);
private:
@@ -1147,7 +1147,7 @@ throw ( RuntimeException )
}
// This method support both request schemes "$("<varname>")" or "<varname>".
-OUString SubstitutePathVariables::impl_getSubstituteVariableValue( const OUString& rVariable )
+OUString const & SubstitutePathVariables::impl_getSubstituteVariableValue( const OUString& rVariable )
throw ( NoSuchElementException, RuntimeException )
{
OUString aVariable;