summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/dialogs/resourcemanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/source/dialogs/resourcemanager.cxx')
-rw-r--r--xmlsecurity/source/dialogs/resourcemanager.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmlsecurity/source/dialogs/resourcemanager.cxx b/xmlsecurity/source/dialogs/resourcemanager.cxx
index 5407d3933ae7..ed2c02c8d9da 100644
--- a/xmlsecurity/source/dialogs/resourcemanager.cxx
+++ b/xmlsecurity/source/dialogs/resourcemanager.cxx
@@ -52,9 +52,7 @@ namespace XmlSec
DateTime GetDateTime( const ::com::sun::star::util::DateTime& _rDT )
{
- return DateTime(
- Date( _rDT.Day, _rDT.Month, _rDT.Year ),
- tools::Time( _rDT.Hours, _rDT.Minutes, _rDT.Seconds, _rDT.NanoSeconds ) );
+ return DateTime(_rDT);
}
OUString GetDateTimeString( const ::com::sun::star::util::DateTime& _rDT )