summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/unotools/calendarwrapper.hxx2
1 files changed, 1 insertions, 1 deletions
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)); }
};