[Libreoffice-commits] core.git: sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Sat Apr 15 02:15:35 UTC 2017


 sc/source/core/data/column2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04edc5c796c1b96e5228d0c1fcf73bcf52465b66
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Fri Apr 14 22:13:42 2017 -0400

    Make it easier to inspect string formula results.
    
    Change-Id: I0071dcfcf05ad4a268374a86c15be770f3b58de1

diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index c73dbdbd73d6..553a72ed91be 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -1659,7 +1659,7 @@ struct ColumnStorageDumper : std::unary_function<sc::CellStoreType::value_type,
                 cout << aRes.mfValue << " (type: value)";
                 break;
             case sc::FormulaResultValue::String:
-                cout << aRes.maString.getString() << " (type: string)";
+                cout << "'" << aRes.maString.getString() << "' (type: string)";
                 break;
             case sc::FormulaResultValue::Error:
                 cout << "error (" << static_cast<int>(aRes.mnError) << ")";


More information about the Libreoffice-commits mailing list