diff options
author | Eike Rathke <erack@redhat.com> | 2023-05-18 23:30:51 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2023-05-19 02:29:18 +0200 |
commit | 261063e69e80193ad563e086c515fd6e22e48464 (patch) | |
tree | b1b81416b88bcf3618959d43834e3dc0a7a46ad9 /i18nutil | |
parent | e15f54ebe7eb53f9e5d5ae7de4449c7e27171daf (diff) |
Eliminate 24h loops in DateTime::operator+=/-=(tools::Time&)
... and repeated Date::operator++/--() that each calculate
lcl_DaysToDate( GetAsNormalizedDays() + 1 )
where Date::AddDays() does it once.
Also, that probably never worked correctly with negative time results >=24h
Change-Id: Ic67aaa3d93e0d6533501d52671acf765e2d9bbdd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151984
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'i18nutil')
0 files changed, 0 insertions, 0 deletions