sc/source/core/tool/cellform.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 990d32dad6bdf5d92a14d8bc02ae2853facd9097 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Tue Nov 23 21:15:23 2021 +0100 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Tue Nov 23 22:41:28 2021 +0100 allow matching of empty cells as svl::SharedString (tdf#133804) This may speed up some lookups. Change-Id: I13a39abc43c64eb758fa55a6cdbda3e83e179121 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125743 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> diff --git a/sc/source/core/tool/cellform.cxx b/sc/source/core/tool/cellform.cxx index bc46c4567744..da81abba383c 100644 --- a/sc/source/core/tool/cellform.cxx +++ b/sc/source/core/tool/cellform.cxx @@ -174,6 +174,10 @@ OUString ScCellFormat::GetInputString( return str; } + case CELLTYPE_NONE: + if( pShared != nullptr ) + *pShared = &svl::SharedString::getEmptyString(); + return OUString(); default: return OUString(); }