summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorayhanyalcinsoy <ayhanyalcinsoy@pisilinux.org>2019-12-27 15:23:57 +0300
committerMichael Stahl <michael.stahl@cib.de>2020-01-08 17:47:54 +0100
commitc1599fc5c9800086548595d1f1464619a7024d06 (patch)
treebc73d11d1a8791d848f692234752c66205b09152 /fpicker
parenta86a2a1c1ceb7203857d4317913c5b1bb9feb4aa (diff)
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 <michael.stahl@cib.de>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/fileview.cxx4
1 files changed, 2 insertions, 2 deletions
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 );