diff options
author | Eike Rathke <erack@redhat.com> | 2015-01-13 17:16:56 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-01-13 17:17:44 +0100 |
commit | 1e2bf2e0bd0c8078870055d5a4fd0a81ffcc5029 (patch) | |
tree | f4da5bf08ac4a3cc79b5cb8bfea50f9d04db55bb /sw/source | |
parent | 35fa188305600fa950a07e4b6c4f6a77a42d32d6 (diff) |
remove superfluous Date and Time temporaries
Change-Id: I7a64027eb58c86ccf9d1b4968c287f0f861f2ec2
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/fields/docufld.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx index 4e0355f14f05..f112a448de77 100644 --- a/sw/source/core/fields/docufld.cxx +++ b/sw/source/core/fields/docufld.cxx @@ -931,9 +931,7 @@ OUString SwDocInfoFieldType::Expand( sal_uInt16 nSub, sal_uInt32 nFormat, { OUString aName( xDocProps->getAuthor() ); util::DateTime uDT( xDocProps->getCreationDate() ); - Date aD(uDT); - tools::Time aT(uDT); - DateTime aDate(aD,aT); + DateTime aDate(uDT); if( nSub == DI_CREATE ) ; // das wars schon!! else if( nSub == DI_CHANGE ) |