summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-06-12 22:29:17 +0200
committerEike Rathke <erack@redhat.com>2012-06-12 22:30:01 +0200
commitfa3c8f55f45476a23e9927cec585f84ef59a638b (patch)
treeca352225c9f714e869a923a0ad47624b56a5f056
parent9ae96127e5b363e6eea14a0e9459b22f0f7307ca (diff)
accept BIT* functions as _xlfnodf.* in Excel import
BITAND, BITOR, BITXOR, BITRSHIFT, BITLSHIFT are written as _xlfnodf.* in Excel export because Excel doesn't have them. So far we weren't able to properly read that in again and the #MACRO? error was generated as function result.
-rw-r--r--sc/source/filter/excel/xlformula.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/filter/excel/xlformula.cxx b/sc/source/filter/excel/xlformula.cxx
index 9a11412c2b77..d299aa2d21a9 100644
--- a/sc/source/filter/excel/xlformula.cxx
+++ b/sc/source/filter/excel/xlformula.cxx
@@ -374,11 +374,11 @@ static const XclFunctionInfo saFuncTable_Odf[] =
EXC_FUNCENTRY_ODF( ocArabic, 1, 1, 0, "ARABIC" ),
EXC_FUNCENTRY_ODF( ocB, 3, 4, 0, "B" ),
EXC_FUNCENTRY_ODF( ocBase, 2, 3, 0, "BASE" ),
- EXC_FUNCENTRY_ODF( ocNoName, 2, 2, 0, "BITAND" ),
- EXC_FUNCENTRY_ODF( ocNoName, 2, 2, 0, "BITLSHIFT" ),
- EXC_FUNCENTRY_ODF( ocNoName, 2, 2, 0, "BITOR" ),
- EXC_FUNCENTRY_ODF( ocNoName, 2, 2, 0, "BITRSHIFT" ),
- EXC_FUNCENTRY_ODF( ocNoName, 2, 2, 0, "BITXOR" ),
+ EXC_FUNCENTRY_ODF( ocBitAnd, 2, 2, 0, "BITAND" ),
+ EXC_FUNCENTRY_ODF( ocBitLshift, 2, 2, 0, "BITLSHIFT" ),
+ EXC_FUNCENTRY_ODF( ocBitOr, 2, 2, 0, "BITOR" ),
+ EXC_FUNCENTRY_ODF( ocBitRshift, 2, 2, 0, "BITRSHIFT" ),
+ EXC_FUNCENTRY_ODF( ocBitXor, 2, 2, 0, "BITXOR" ),
EXC_FUNCENTRY_ODF( ocChiSqDist, 2, 3, 0, "CHISQDIST" ),
EXC_FUNCENTRY_ODF( ocChiSqInv, 2, 2, 0, "CHISQINV" ),
EXC_FUNCENTRY_ODF( ocKombin2, 2, 2, 0, "COMBINA" ),