summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-07-16 19:00:51 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-07-16 19:03:25 -0400
commit2202bda95c76127dffcc9c7460e462a877344b9c (patch)
treed7234dd50e90aa2dc661488272df37a53c67034e /sc
parent82127a86dc1d127a3b6caa8279163aab1ccf119a (diff)
fdo#81445: Display correct label for empty cell.
Change-Id: I4f3e99b2231f7cd87daa27ef2dc47d3bf37cea57
Diffstat (limited to 'sc')
-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 db032e19487b..80a66cd49233 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -1793,10 +1793,9 @@ void ScChangeActionContent::GetValueString(
case CELLTYPE_FORMULA :
GetFormulaString(rStr, rCell.mpFormula);
break;
+ case CELLTYPE_NONE:
default:
- {
- // added to avoid warnings
- }
+ rStr = OUString();
}
}