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:05:37 -0400
commit7c76ada0f4a45b4b6375d33e2eada739ddb2fd88 (patch)
treebeb8334f233467b6ee2d52927c3d8c99567571c2 /sc
parentf60bff6af14afce4db1d76d50a1586fb0fb23cbf (diff)
fdo#81445: Display correct label for empty cell.
Change-Id: I4f3e99b2231f7cd87daa27ef2dc47d3bf37cea57 (cherry picked from commit 2202bda95c76127dffcc9c7460e462a877344b9c)
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 7512f7bdf81a..ff261cabb1c8 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -1814,10 +1814,9 @@ void ScChangeActionContent::GetValueString(
case CELLTYPE_FORMULA :
GetFormulaString(rStr, rCell.mpFormula);
break;
+ case CELLTYPE_NONE:
default:
- {
- // added to avoid warnings
- }
+ rStr = OUString();
}
}