From 719c55cda76e0a00b4530396ebcf25777588a250 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 12 Aug 2015 15:09:57 +0200 Subject: loplugin: defaultparams Change-Id: I455b200febc9939f3fb81597938b26c0e9eb5f74 --- desktop/source/deployment/registry/package/dp_package.cxx | 7 ++----- desktop/source/splash/splash.cxx | 8 ++++---- 2 files changed, 6 insertions(+), 9 deletions(-) (limited to 'desktop') 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 xResultSet( - sourceContent.createCursor( - Sequence(), - ::ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS ) ); + sourceContent.createCursor( Sequence() ) ); ProgressLevel progress( xCmdEnv, OUString() ); while (xResultSet->next()) { @@ -1590,8 +1588,7 @@ void BackendImpl::PackageImpl::scanLegacyBundle( OUString ar [] = { OUString("Title"), OUString("IsFolder") }; Reference xResultSet( ucbContent.createCursor( - Sequence( ar, ARLEN(ar) ), - ::ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS ) ); + Sequence( 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; -- cgit