sc/source/core/data/dpcache.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit dd1b3ca024a85597b46778a62007bb966174368d Author: Kohei Yoshida <kohei.yosh...@gmail.com> Date: Thu Mar 7 11:57:11 2013 -0500 fdo#54651: Only pick non-default number format for pivot field. Change-Id: Ia88282803c8df8389ed24efd8b1ca7600a39bf23 diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx index 3f7588c..358f826 100644 --- a/sc/source/core/data/dpcache.cxx +++ b/sc/source/core/data/dpcache.cxx @@ -357,7 +357,9 @@ bool ScDPCache::InitFromDoc(ScDocument* pDoc, const ScRange& rRange) if (!aData.IsEmpty()) { maEmptyRows.insert_back(i, i+1, false); - rField.mnNumFormat = nNumFormat; + if (nNumFormat) + // Only take non-default number format. + rField.mnNumFormat = nNumFormat; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits