sfx2/source/doc/docfile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 84efa4087b803a39219ccce79ca374d0d09cf6d9 Author: Takeshi Abe <t...@fixedpoint.jp> Date: Thu May 17 17:54:38 2018 +0900 sfx2: Avoid looking up system clock twice for current datetime Change-Id: If5d7bbd611321e6eee1c4bd9143af415c8a1671d Reviewed-on: https://gerrit.libreoffice.org/54472 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Takeshi Abe <t...@fixedpoint.jp> diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 14a5f6aa61f0..1ac4c883d30a 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits