diff options
Diffstat (limited to 'sc/source/core/data/cellvalue.cxx')
-rw-r--r-- | sc/source/core/data/cellvalue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/cellvalue.cxx b/sc/source/core/data/cellvalue.cxx index 75362ba7bfc2..78683e65de26 100644 --- a/sc/source/core/data/cellvalue.cxx +++ b/sc/source/core/data/cellvalue.cxx @@ -476,7 +476,7 @@ double ScRefCellValue::getValue() return 0.0; } -OUString ScRefCellValue::getString() +OUString ScRefCellValue::getString( const ScDocument* pDoc ) { switch (meType) { @@ -484,7 +484,7 @@ OUString ScRefCellValue::getString() return *mpString; case CELLTYPE_EDIT: if (mpEditText) - return ScEditUtil::GetString(*mpEditText); + return ScEditUtil::GetString(*mpEditText, pDoc); break; case CELLTYPE_FORMULA: return mpFormula->GetString(); |