Bugzilla – Attachment 46228 Details for
Bug 36748
Zero results do not appear when workbook is opened.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix bug 36748.
0001-Fixed-bug-regarding-zero-values-not-appearing-Bug-36.patch (text/plain), 1.23 KB, created by
cassio.neri
on 2011-05-01 10:34:22 UTC
(
hide
)
Description:
Patch to fix bug 36748.
Filename:
MIME Type:
Creator:
cassio.neri
Created:
2011-05-01 10:34:22 UTC
Size:
1.23 KB
patch
obsolete
>From 5c6d2ec914efb3533fa24fc8105c6495b5c1bf5c Mon Sep 17 00:00:00 2001 >From: Cassio Neri <cassio.neri@gmail.com> >Date: Sun, 1 May 2011 17:58:37 +0100 >Subject: [PATCH] Fixed bug regarding zero values not appearing (Bug 36748). > >In xmlcelli.cxx line 1093 the result is set only if the value is not >zero. Removing the if-statement fixes the issue. >--- > sc/source/filter/xml/xmlcelli.cxx | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx >index 67d0e56..26a2995 100644 >--- a/sc/source/filter/xml/xmlcelli.cxx >+++ b/sc/source/filter/xml/xmlcelli.cxx >@@ -1089,7 +1089,7 @@ void ScXMLTableRowCellContext::EndElement() > pCellObj->SetFormulaWithGrammar( pOUFormula->first, pOUFormula->second, eGrammar); > if (bFormulaTextResult && pOUTextValue && pOUTextValue->getLength()) > pCellObj->SetFormulaResultString( *pOUTextValue); >- else if (fValue != 0.0) >+ else > pCellObj->SetFormulaResultDouble( fValue); > } > } >-- >1.7.3.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 36748
:
46227
| 46228