diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-12 15:09:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-14 10:52:47 +0200 |
commit | 719c55cda76e0a00b4530396ebcf25777588a250 (patch) | |
tree | 3739d33f4602624b839213b02b0a991677f82439 /desktop | |
parent | 56af9ab6bb38f8b795295080308cdab7b97e8acc (diff) |
loplugin: defaultparams
Change-Id: I455b200febc9939f3fb81597938b26c0e9eb5f74
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/registry/package/dp_package.cxx | 7 | ||||
-rw-r--r-- | desktop/source/splash/splash.cxx | 8 |
2 files changed, 6 insertions, 9 deletions
diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index ae19ed3f7a62..d9ae1e0a1b95 100644 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -1087,9 +1087,7 @@ void BackendImpl::PackageImpl::exportTo( { // transfer every item of folder into zip: Reference<sdbc::XResultSet> xResultSet( - sourceContent.createCursor( - Sequence<OUString>(), - ::ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS ) ); + sourceContent.createCursor( Sequence<OUString>() ) ); ProgressLevel progress( xCmdEnv, OUString() ); while (xResultSet->next()) { @@ -1590,8 +1588,7 @@ void BackendImpl::PackageImpl::scanLegacyBundle( OUString ar [] = { OUString("Title"), OUString("IsFolder") }; Reference<sdbc::XResultSet> xResultSet( ucbContent.createCursor( - Sequence<OUString>( ar, ARLEN(ar) ), - ::ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS ) ); + Sequence<OUString>( ar, ARLEN(ar) ) ) ); while (xResultSet->next()) { checkAborted( abortChannel ); diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx index 3d004f410b3f..6b64d25df25c 100644 --- a/desktop/source/splash/splash.cxx +++ b/desktop/source/splash/splash.cxx @@ -203,7 +203,7 @@ void SAL_CALL SplashScreen::start(const OUString&, sal_Int32 nRange) _bProgressEnd = false; SolarMutexGuard aSolarGuard; if ( _eBitmapMode == BM_FULLSCREEN ) - pWindow->ShowFullScreenMode( true ); + pWindow->ShowFullScreenMode(); pWindow->Show(); pWindow->Redraw(); } @@ -229,7 +229,7 @@ void SAL_CALL SplashScreen::reset() if (_bVisible && !_bProgressEnd ) { if ( _eBitmapMode == BM_FULLSCREEN ) - pWindow->ShowFullScreenMode( true ); + pWindow->ShowFullScreenMode(); pWindow->Show(); updateStatus(); } @@ -246,7 +246,7 @@ void SAL_CALL SplashScreen::setText(const OUString& rText) if (_bVisible && !_bProgressEnd) { if ( _eBitmapMode == BM_FULLSCREEN ) - pWindow->ShowFullScreenMode( true ); + pWindow->ShowFullScreenMode(); pWindow->Show(); updateStatus(); } @@ -261,7 +261,7 @@ void SAL_CALL SplashScreen::setValue(sal_Int32 nValue) SolarMutexGuard aSolarGuard; if (_bVisible && !_bProgressEnd) { if ( _eBitmapMode == BM_FULLSCREEN ) - pWindow->ShowFullScreenMode( true ); + pWindow->ShowFullScreenMode(); pWindow->Show(); if (nValue >= _iMax) _iProgress = _iMax; |