summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:20:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:29 +0200
commit4f8756f075e7777f4a681eb80dc002083129b5a5 (patch)
tree93ca8f8ad91cc32250f2922c92ac0b57c3397600 /unotools
parentdb67f6f40839814c148f1a414e3c3bde188111f9 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I57c1bd476183c941a70cc0c60fd4e42bbe95ccb2
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/configitem.cxx2
-rw-r--r--unotools/source/config/moduleoptions.cxx2
-rw-r--r--unotools/source/misc/closeveto.cxx2
-rw-r--r--unotools/source/misc/mediadescriptor.cxx2
-rw-r--r--unotools/source/misc/sharedunocomponent.cxx2
-rw-r--r--unotools/source/ucbhelper/ucbstreamhelper.cxx2
6 files changed, 6 insertions, 6 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index 554c18bbe991..b951ce236bf8 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -356,7 +356,7 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const css::uno::Sequence< OUS
// We must be sure to return a valid information every time!
// Set default to non readonly... similar to the configuration handling of this property.
for ( i=0; i<nCount; ++i)
- lStates[i] = sal_False;
+ lStates[i] = false;
// no access - no information...
Reference< XHierarchicalNameAccess > xHierarchyAccess = GetTree();
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx
index 4f476294d78a..880a1d5502eb 100644
--- a/unotools/source/config/moduleoptions.cxx
+++ b/unotools/source/config/moduleoptions.cxx
@@ -210,7 +210,7 @@ struct FactoryInfo
{
sTemplateFile
= getStringSubstitution()
- ->substituteVariables( sNewTemplateFile, sal_False );
+ ->substituteVariables( sNewTemplateFile, false );
}
else
{
diff --git a/unotools/source/misc/closeveto.cxx b/unotools/source/misc/closeveto.cxx
index 67f1c99afea4..3eeabc8eaee2 100644
--- a/unotools/source/misc/closeveto.cxx
+++ b/unotools/source/misc/closeveto.cxx
@@ -121,7 +121,7 @@ namespace utl
{
try
{
- i_data.xCloseable->close( sal_True );
+ i_data.xCloseable->close( true );
}
catch( const CloseVetoException& ) { }
catch( const Exception& )
diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx
index 9734347e031a..e123474a1abf 100644
--- a/unotools/source/misc/mediadescriptor.cxx
+++ b/unotools/source/misc/mediadescriptor.cxx
@@ -533,7 +533,7 @@ bool MediaDescriptor::impl_openStreamWithPostData( const css::uno::Reference< cs
css::uno::Reference< css::uno::XInterface >(), 1);
// PostData can't be used in read/write mode!
- (*this)[MediaDescriptor::PROP_READONLY()] <<= sal_True;
+ (*this)[MediaDescriptor::PROP_READONLY()] <<= true;
// prepare the environment
css::uno::Reference< css::task::XInteractionHandler > xInteraction = getUnpackedValueOrDefault(
diff --git a/unotools/source/misc/sharedunocomponent.cxx b/unotools/source/misc/sharedunocomponent.cxx
index cbe74f91d478..21557c3dedd5 100644
--- a/unotools/source/misc/sharedunocomponent.cxx
+++ b/unotools/source/misc/sharedunocomponent.cxx
@@ -128,7 +128,7 @@ namespace utl
// close
try
{
- m_xCloseable->close( sal_True );
+ m_xCloseable->close( true );
}
catch( const CloseVetoException& ) { /* fine */ }
catch( const Exception& )
diff --git a/unotools/source/ucbhelper/ucbstreamhelper.cxx b/unotools/source/ucbhelper/ucbstreamhelper.cxx
index ff11524ca8a8..fbd7828ef9ed 100644
--- a/unotools/source/ucbhelper/ucbstreamhelper.cxx
+++ b/unotools/source/ucbhelper/ucbstreamhelper.cxx
@@ -90,7 +90,7 @@ static SvStream* lcl_CreateStream( const OUString& rFileName, StreamMode eOpenMo
InsertCommandArgument aInsertArg;
aInsertArg.Data = xInput;
- aInsertArg.ReplaceExisting = sal_False;
+ aInsertArg.ReplaceExisting = false;
Any aCmdArg;
aCmdArg <<= aInsertArg;
aContent.executeCommand( "insert", aCmdArg );