sfx2: Avoid looking up system clock twice for current datetime
Change-Id: If5d7bbd611321e6eee1c4bd9143af415c8a1671d Reviewed-on: https://gerrit.libreoffice.org/54472 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
This commit is contained in:
@@ -333,7 +333,7 @@ SfxMedium_Impl::SfxMedium_Impl() :
|
||||
m_pInStream(nullptr),
|
||||
m_pOutStream(nullptr),
|
||||
pOrigFilter( nullptr ),
|
||||
aExpireTime( Date( Date::SYSTEM ) + 10, tools::Time( tools::Time::SYSTEM ) ),
|
||||
aExpireTime( DateTime( DateTime::SYSTEM ) + static_cast<sal_Int32>(10) ),
|
||||
pTempFile( nullptr ),
|
||||
nLastStorageError( ERRCODE_NONE ),
|
||||
m_nSignatureState( SignatureState::NOSIGNATURES )
|
||||
|
Reference in New Issue
Block a user