[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Thu Jul 17 00:21:02 PDT 2014


 sc/source/core/tool/chgtrack.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 86fbaaecbc30b1d541c1c341e454d3052a0ebe8b
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Wed Jul 16 19:00:51 2014 -0400

    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 at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index 56866e2..f08272e 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();
     }
 }
 


More information about the Libreoffice-commits mailing list