diff --git a/include/unotools/calendarwrapper.hxx b/include/unotools/calendarwrapper.hxx index aa0bb345c95b..ac1125d2fc66 100644 --- a/include/unotools/calendarwrapper.hxx +++ b/include/unotools/calendarwrapper.hxx @@ -115,7 +115,7 @@ public: /// set a local (!) Gregorian DateTime void setGregorianDateTime( const DateTime& rDateTime ) - { setLocalDateTime( rDateTime - aEpochStart ); } + { setLocalDateTime( DateTime::Sub( rDateTime, aEpochStart)); } };