diff options
Diffstat (limited to 'sc/source/filter/xml/xmlimprt.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlimprt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx index c2fb1fdf498e..9c2e1b601f55 100644 --- a/sc/source/filter/xml/xmlimprt.cxx +++ b/sc/source/filter/xml/xmlimprt.cxx @@ -1964,7 +1964,7 @@ ScXMLImport::ScXMLImport( { XML_CURRENCY, util::NumberFormat::CURRENCY }, { XML_BOOLEAN, util::NumberFormat::LOGICAL } }; - size_t n = SAL_N_ELEMENTS(aCellTypePairs); + size_t n = sizeof(aCellTypePairs)/sizeof(aCellTypePairs[0]); for (size_t i = 0; i < n; ++i) { aCellTypeMap.insert( |