summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-07-16 19:00:51 -0400
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-07-17 07:20:28 +0000
commit86fbaaecbc30b1d541c1c341e454d3052a0ebe8b (patch)
tree1e15885ddd7863411afe0298c3def91c4ca29586
parent88cf46be3d1ad709cf822e209d0911d6a71f3222 (diff)
fdo#81445: Display correct label for empty cell.
Change-Id: I4f3e99b2231f7cd87daa27ef2dc47d3bf37cea57 (cherry picked from commit 2202bda95c76127dffcc9c7460e462a877344b9c) Reviewed-on: https://gerrit.libreoffice.org/10360 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/core/tool/chgtrack.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index 56866e2b23b1..f08272eda4f6 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -1815,10 +1815,9 @@ void ScChangeActionContent::GetValueString(
case CELLTYPE_FORMULA :
GetFormulaString(rStr, rCell.mpFormula);
break;
+ case CELLTYPE_NONE:
default:
- {
- // added to avoid warnings
- }
+ rStr = OUString();
}
}