diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-07 08:49:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-07 10:04:44 +0200 |
commit | c158c00489d35af7f5f9278b8ee545678d6a42e5 (patch) | |
tree | eab18b26c29210979031ef6b9ef58ce0e0575664 /ucb/source/ucp/webdav-neon | |
parent | 5e9982668224345f901631d664985e823530e05a (diff) |
loplugin:constantparam in framework..vbahelper
Change-Id: I592f73012ae8a4df8488ef04dc0956d9400625bc
Diffstat (limited to 'ucb/source/ucp/webdav-neon')
-rw-r--r-- | ucb/source/ucp/webdav-neon/PropfindCache.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/PropfindCache.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav-neon/PropfindCache.cxx b/ucb/source/ucp/webdav-neon/PropfindCache.cxx index 095273a1cd63..b854e6fda323 100644 --- a/ucb/source/ucp/webdav-neon/PropfindCache.cxx +++ b/ucb/source/ucp/webdav-neon/PropfindCache.cxx @@ -86,13 +86,13 @@ namespace webdav_ucp } } - void PropertyNamesCache::addCachePropertyNames( PropertyNames& rCacheElement, const sal_uInt32 nLifeTime ) + void PropertyNamesCache::addCachePropertyNames( PropertyNames& rCacheElement ) { osl::MutexGuard aGuard( m_aMutex ); OUString aURL( rCacheElement.getURL() ); TimeValue t1; osl_getSystemTime( &t1 ); - rCacheElement.setStaleTime( t1.Seconds + nLifeTime ); + rCacheElement.setStaleTime( t1.Seconds + 10 ); m_aTheCache[ aURL ] = rCacheElement; } diff --git a/ucb/source/ucp/webdav-neon/PropfindCache.hxx b/ucb/source/ucp/webdav-neon/PropfindCache.hxx index f01e6522db61..99ca5c65a7d3 100644 --- a/ucb/source/ucp/webdav-neon/PropfindCache.hxx +++ b/ucb/source/ucp/webdav-neon/PropfindCache.hxx @@ -73,7 +73,7 @@ namespace webdav_ucp bool getCachedPropertyNames( const OUString& URL, PropertyNames& rCacheElement ); void removeCachedPropertyNames( const OUString& URL ); - void addCachePropertyNames( PropertyNames& rCacheElement, const sal_uInt32 nLifeTime ); + void addCachePropertyNames( PropertyNames& rCacheElement ); }; } diff --git a/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx b/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx index e51fdb50d845..eaa586c7e577 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx @@ -338,7 +338,7 @@ uno::Sequence< beans::Property > Content::getProperties( xResAccess->PROPFIND( DAVZERO, props, xEnv ); aPropsNames.setPropertiesNames( props ); - aStaticPropertyNamesCache.addCachePropertyNames( aPropsNames, 10 ); + aStaticPropertyNamesCache.addCachePropertyNames( aPropsNames ); } else { |