summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-22 14:58:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-22 15:00:54 +0100
commitbbd9668d5f70d8ff00a7b10915e7a16ceadb8443 (patch)
tree4e65b4d58e6a4298219b1909f524b710677606d9 /idl
parent4eda1a0293a869bf804056f1e9e04c984c69454d (diff)
bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
Diffstat (limited to 'idl')
-rw-r--r--idl/source/objects/slot.cxx2
-rw-r--r--idl/source/prj/svidl.cxx2
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() )