summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:19:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:26 +0200
commit58a6d1f042d75d53a55077f0c8ef24feebf3473b (patch)
tree437bd0f90fd33bb6383731eb696240ff94fd8a91 /svl
parentc763ceb4a6104ac4af504681babc069aa6ae5bd3 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I4a86e2484adfafb53831b9e1e9971514f017ce36
Diffstat (limited to 'svl')
-rw-r--r--svl/source/misc/documentlockfile.cxx4
-rw-r--r--svl/source/misc/sharecontrolfile.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/misc/documentlockfile.cxx b/svl/source/misc/documentlockfile.cxx
index d71e2e958e5a..6dcd09b0ca62 100644
--- a/svl/source/misc/documentlockfile.cxx
+++ b/svl/source/misc/documentlockfile.cxx
@@ -112,14 +112,14 @@ bool DocumentLockFile::CreateOwnLockFile()
ucb::InsertCommandArgument aInsertArg;
aInsertArg.Data = xInput;
- aInsertArg.ReplaceExisting = sal_False;
+ aInsertArg.ReplaceExisting = false;
uno::Any aCmdArg;
aCmdArg <<= aInsertArg;
aTargetContent.executeCommand( "insert", aCmdArg );
// try to let the file be hidden if possible
try {
- aTargetContent.setPropertyValue("IsHidden", uno::makeAny( sal_True ) );
+ aTargetContent.setPropertyValue("IsHidden", uno::makeAny( true ) );
} catch( uno::Exception& ) {}
}
catch( ucb::NameClashException& )
diff --git a/svl/source/misc/sharecontrolfile.cxx b/svl/source/misc/sharecontrolfile.cxx
index 8ca316d1b061..1630dd24643b 100644
--- a/svl/source/misc/sharecontrolfile.cxx
+++ b/svl/source/misc/sharecontrolfile.cxx
@@ -104,12 +104,12 @@ void ShareControlFile::OpenStream()
uno::Reference< io::XInputStream > xInput( new ::utl::OInputStreamWrapper( aStream ) );
ucb::InsertCommandArgument aInsertArg;
aInsertArg.Data = xInput;
- aInsertArg.ReplaceExisting = sal_False;
+ aInsertArg.ReplaceExisting = false;
aContent.executeCommand( "insert", uno::makeAny( aInsertArg ) );
// try to let the file be hidden if possible
try {
- aContent.setPropertyValue("IsHidden", uno::makeAny( sal_True ) );
+ aContent.setPropertyValue("IsHidden", uno::makeAny( true ) );
} catch( uno::Exception& ) {}
// Try to open one more time