From c1599fc5c9800086548595d1f1464619a7024d06 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Fri, 27 Dec 2019 15:23:57 +0300 Subject: tdf#96505:Get rid of cargo cult long integer literals Change-Id: I6ee1f79d4b96c4ed161eff11c1b75574d89902dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85843 Tested-by: Jenkins Reviewed-by: Michael Stahl --- fpicker/source/office/fileview.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpicker/source') diff --git a/fpicker/source/office/fileview.cxx b/fpicker/source/office/fileview.cxx index b09f589a32ba..c6fe831a73ec 100644 --- a/fpicker/source/office/fileview.cxx +++ b/fpicker/source/office/fileview.cxx @@ -1213,8 +1213,8 @@ FileViewResult SvtFileView_Impl::GetFolderContent_Impl( OSL_ENSURE( nMinTimeout > 0, "SvtFileView_Impl::GetFolderContent_Impl: invalid minimum timeout!" ); if ( nMinTimeout <= 0 ) nMinTimeout = sal_Int32( 1000 ); - pTimeout->Seconds = nMinTimeout / 1000L; - pTimeout->Nanosec = ( nMinTimeout % 1000L ) * 1000000L; + pTimeout->Seconds = nMinTimeout / 1000; + pTimeout->Nanosec = ( nMinTimeout % 1000 ) * 1000000; m_xContentEnumerator->enumerateFolderContent( _rFolder, this ); -- cgit