Kaydet (Commit) 3c2803bd authored tarafından Eike Rathke's avatar Eike Rathke

allow text as dates in inline array of holidays for NETWORKDAYS()

Change-Id: I0c5438a0ee23a5974495a9f782b3f22ef7472c87
üst 3c8bbb60
...@@ -346,7 +346,7 @@ sal_uInt16 ScInterpreter::GetWeekendAndHolidayMasks( ...@@ -346,7 +346,7 @@ sal_uInt16 ScInterpreter::GetWeekendAndHolidayMasks(
if ( nParamCount >= 3 ) if ( nParamCount >= 3 )
{ {
GetSortArray( 1, rSortArray, nullptr, false, true ); GetSortArray( 1, rSortArray, nullptr, true, true );
size_t nMax = rSortArray.size(); size_t nMax = rSortArray.size();
for ( size_t i = 0; i < nMax; i++ ) for ( size_t i = 0; i < nMax; i++ )
rSortArray.at( i ) = ::rtl::math::approxFloor( rSortArray.at( i ) ) + nNullDate; rSortArray.at( i ) = ::rtl::math::approxFloor( rSortArray.at( i ) ) + nNullDate;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment