From 61aabb7d814b634e29003d8b555938f40b6f6fb4 Mon Sep 17 00:00:00 2001
From: Kohei Yoshida <kohei.yoshida@collabora.com>
Date: Wed, 16 Jul 2014 19:00:51 -0400
Subject: [PATCH 025/137] fdo#81445: Display correct label for empty cell.
Change-Id: I4f3e99b2231f7cd87daa27ef2dc47d3bf37cea57
(cherry picked from commit 2202bda95c76127dffcc9c7460e462a877344b9c)
Reviewed-on: https://gerrit.libreoffice.org/10361
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
---
sc/source/core/tool/chgtrack.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index 87d0cdb..1ebb30d 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -1806,10 +1806,9 @@ void ScChangeActionContent::GetValueString(
case CELLTYPE_FORMULA :
GetFormulaString(rStr, rCell.mpFormula);
break;
+ case CELLTYPE_NONE:
default:
- {
- // added to avoid warnings
- }
+ rStr = OUString();
}
}
--
1.9.3