Kaydet (Commit) 59d6bde4 authored tarafından Eike Rathke's avatar Eike Rathke

obtain days in month from non-normalized date, fdo#63805 related

Change-Id: I05cefb96d7d6290ff7e1a89fa88b21da7a6c82a2
üst 33e0e0d8
......@@ -1360,7 +1360,7 @@ static void ImplDateIncrementMonth( Date& rDate, sal_Bool bUp )
}
}
sal_uInt16 nDaysInMonth = rDate.GetDaysInMonth();
sal_uInt16 nDaysInMonth = Date::GetDaysInMonth( rDate.GetMonth(), rDate.GetYear());
if ( rDate.GetDay() > nDaysInMonth )
rDate.SetDay( nDaysInMonth );
}
......
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