diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/ucbhelper/ucbhelper.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx index 407adadbdf7a..ec00faf062b0 100644 --- a/unotools/source/ucbhelper/ucbhelper.cxx +++ b/unotools/source/ucbhelper/ucbhelper.cxx @@ -120,9 +120,7 @@ OUString getCasePreservingUrl(const INetURLObject& url) { } DateTime convert(css::util::DateTime const & dt) { - return DateTime( - Date(dt.Day, dt.Month, dt.Year), - tools::Time(dt.Hours, dt.Minutes, dt.Seconds, dt.NanoSeconds)); + return DateTime(dt); } } |