diff options
Diffstat (limited to 'sc/source/core/data/formulacell.cxx')
-rw-r--r-- | sc/source/core/data/formulacell.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index 0ba55750e57b..707acf1d355c 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -2616,7 +2616,7 @@ void ScFormulaCell::SetResultToken( const formula::FormulaToken* pToken ) aResult.SetToken(pToken); } -svl::SharedString ScFormulaCell::GetResultString() const +const svl::SharedString & ScFormulaCell::GetResultString() const { return aResult.GetString(); } @@ -2795,7 +2795,7 @@ double ScFormulaCell::GetValue() return GetRawValue(); } -svl::SharedString ScFormulaCell::GetString() +const svl::SharedString & ScFormulaCell::GetString() { MaybeInterpret(); return GetRawString(); @@ -2809,7 +2809,7 @@ double ScFormulaCell::GetRawValue() const return 0.0; } -svl::SharedString ScFormulaCell::GetRawString() const +const svl::SharedString & ScFormulaCell::GetRawString() const { if ((pCode->GetCodeError() == FormulaError::NONE) && aResult.GetResultError() == FormulaError::NONE) |