loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Idf27ee5370f1fa24adf22908d9e801c7d40db935
This commit is contained in:
@@ -395,7 +395,7 @@ IMPL_LINK_NOARG_TYPED(CloseDispatcher, impl_asyncCallback, LinkParamNone*, void)
|
||||
{
|
||||
css::uno::Reference< css::frame::XController > xController = xCloseFrame->getController();
|
||||
if (xController.is())
|
||||
xController->suspend(sal_False);
|
||||
xController->suspend(false);
|
||||
}
|
||||
|
||||
// inform listener
|
||||
@@ -459,7 +459,7 @@ bool CloseDispatcher::implts_prepareFrameForClosing(const css::uno::Reference< c
|
||||
css::uno::Reference< css::frame::XController > xController = xFrame->getController();
|
||||
if (xController.is()) // some views don't uses a controller .-( (e.g. the help window)
|
||||
{
|
||||
bControllerSuspended = xController->suspend(sal_True);
|
||||
bControllerSuspended = xController->suspend(true);
|
||||
if (! bControllerSuspended)
|
||||
return false;
|
||||
}
|
||||
@@ -523,7 +523,7 @@ bool CloseDispatcher::implts_establishBackingMode()
|
||||
css::uno::Reference< css::awt::XWindow > xBackingWin(xStartModule, css::uno::UNO_QUERY);
|
||||
xFrame->setComponent(xBackingWin, xStartModule);
|
||||
xStartModule->attachFrame(xFrame);
|
||||
xContainerWindow->setVisible(sal_True);
|
||||
xContainerWindow->setVisible(true);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@@ -141,7 +141,7 @@ bool StartModuleDispatcher::implts_establishBackingMode()
|
||||
css::uno::Reference< css::awt::XWindow > xComponentWindow(xStartModule, css::uno::UNO_QUERY);
|
||||
xFrame->setComponent(xComponentWindow, xStartModule);
|
||||
xStartModule->attachFrame(xFrame);
|
||||
xContainerWindow->setVisible(sal_True);
|
||||
xContainerWindow->setVisible(true);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@@ -110,7 +110,7 @@ void SAL_CALL SystemExec::dispatchWithNotification( const css::util::URL&
|
||||
{
|
||||
css::uno::Reference< css::util::XStringSubstitution > xPathSubst( css::util::PathSubstitution::create(m_xContext) );
|
||||
|
||||
OUString sSystemURL = xPathSubst->substituteVariables(sSystemURLWithVariables, sal_True); // sal_True force an exception if unknown variables exists !
|
||||
OUString sSystemURL = xPathSubst->substituteVariables(sSystemURLWithVariables, true); // sal_True force an exception if unknown variables exists !
|
||||
|
||||
css::uno::Reference< css::system::XSystemShellExecute > xShell = css::system::SystemShellExecute::create( m_xContext );
|
||||
|
||||
|
Reference in New Issue
Block a user