summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-06-14 17:33:32 +0200
committerEike Rathke <erack@redhat.com>2016-06-14 17:37:51 +0200
commit3c2803bdbc598deeaf6efe43870d4f9d61cb2c6a (patch)
tree30943ea335bdba9ada5eac1b85c51f63b0d23741
parent3c8bbb6025a2ecccc42264d97f76928ef9ab43f7 (diff)
allow text as dates in inline array of holidays for NETWORKDAYS()
Change-Id: I0c5438a0ee23a5974495a9f782b3f22ef7472c87
-rw-r--r--sc/source/core/tool/interpr2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index ed467e3469d5..df32da36d08f 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -346,7 +346,7 @@ sal_uInt16 ScInterpreter::GetWeekendAndHolidayMasks(
if ( nParamCount >= 3 )
{
- GetSortArray( 1, rSortArray, nullptr, false, true );
+ GetSortArray( 1, rSortArray, nullptr, true, true );
size_t nMax = rSortArray.size();
for ( size_t i = 0; i < nMax; i++ )
rSortArray.at( i ) = ::rtl::math::approxFloor( rSortArray.at( i ) ) + nNullDate;