diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-22 14:58:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-22 15:00:54 +0100 |
commit | bbd9668d5f70d8ff00a7b10915e7a16ceadb8443 (patch) | |
tree | 4e65b4d58e6a4298219b1909f524b710677606d9 /idl | |
parent | Add some unit-tests for Mid vb function (includes fdo#73771) (diff) | |
download | core-bbd9668d5f70d8ff00a7b10915e7a16ceadb8443.tar.gz core-bbd9668d5f70d8ff00a7b10915e7a16ceadb8443.zip |
bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/objects/slot.cxx | 2 | ||||
-rw-r--r-- | idl/source/prj/svidl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index 3f96386c24a5..1627aa801336 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -286,7 +286,7 @@ sal_Bool SvMetaSlot::IsVariable() const sal_Bool SvMetaSlot::IsMethod() const { - sal_Bool b = SvMetaAttribute::IsMethod(); + bool b = SvMetaAttribute::IsMethod(); b |= NULL != GetMethod(); return b; } diff --git a/idl/source/prj/svidl.cxx b/idl/source/prj/svidl.cxx index 0d8782b4977c..7eebf9b32740 100644 --- a/idl/source/prj/svidl.cxx +++ b/idl/source/prj/svidl.cxx @@ -238,7 +238,7 @@ int main ( int argc, char ** argv) if( nExit == 0 ) { - sal_Bool bErr = sal_False; + bool bErr = false; sal_Bool bDoMove = aCommand.aTargetFile.isEmpty(); OUString aErrFile, aErrFile2; if( !bErr && !aCommand.aListFile.isEmpty() ) |