summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/unitconverter.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-12-16 01:37:31 +0100
committerAndras Timar <andras.timar@collabora.com>2014-12-18 22:51:39 +0100
commit04a9c1c90cc2e2d969b712b3b7a255d286d19b84 (patch)
tree2e1803918cfb9067bd60747b8b381a1e1e4f1d66 /sc/source/filter/oox/unitconverter.cxx
parent0fbcd7b60d87924660369fcdb0569ee9670736ac (diff)
fdo#79249 call formula compiler with error string
... instead of attempting to stringize a NaN coded error value. Regression introduced with 30a20743ae17e6e02183a65603d38968253b3ffb (cherry picked from commit 994607b55104b9ae4554554c13b001b8d5d513b6) construct grouped ScFormulaCell with bDirty=true, fdo#79249 related Noticed when loading https://bugs.freedesktop.org/attachment.cgi?id=99844 with fdo#79249 fix where oox::xls::applyCellFormulas() groups the consecutive =#N/A formulas. Only A1 result was displayed, other cells were displayed empty. (cherry picked from commit a1dc5e97da273bf35d58d54e625149022569a993) correct error string, #N/A instead of #NA (cherry picked from commit 758755e31b3d9e1ed2eab522d4794282178346ac) Change-Id: Ia7a8ca39938820ac75db169404446fa696c6ee1b 3a541f74d3d25e1515a1c6d47f02ec6a8e817c93 15019072b6e812b9ffe29d3ee6afacd9ab526948
Diffstat (limited to 'sc/source/filter/oox/unitconverter.cxx')
-rw-r--r--sc/source/filter/oox/unitconverter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/unitconverter.cxx b/sc/source/filter/oox/unitconverter.cxx
index 55ba77fe15e3..108b248caa94 100644
--- a/sc/source/filter/oox/unitconverter.cxx
+++ b/sc/source/filter/oox/unitconverter.cxx
@@ -120,7 +120,7 @@ UnitConverter::UnitConverter( const WorkbookHelper& rHelper ) :
addErrorCode( BIFF_ERR_REF, "#REF!" );
addErrorCode( BIFF_ERR_NAME, "#NAME?" );
addErrorCode( BIFF_ERR_NUM, "#NUM!" );
- addErrorCode( BIFF_ERR_NA, "#NA" );
+ addErrorCode( BIFF_ERR_NA, "#N/A" );
}
void UnitConverter::finalizeImport()