Hi, On Monday, 2023-06-19 14:25:16 +0200, Eike Rathke wrote: > friend tools::Duration operator -( const DateTime& rDateTime1, const DateTime& rDateTime2 ); > > (you can also use that temporarily to find code places to change). Having tried that, it tends to get cumbersome because of things like include/unotools/calendarwrapper.hxx setLocalDateTime( rDateTime - aEpochStart ) (one could temporarliy change to setLocalDateTime( (rDateTime - aEpochStart).GetInDays() ) as well) or places that use something like aDateTime - aNullDate Might find a better approach.. Eike -- GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Attachment:
signature.asc
Description: PGP signature