Blame SOURCES/0025-fdo-81445-Display-correct-label-for-empty-cell.patch

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