diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-04 10:49:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-04 13:44:17 +0200 |
commit | af8c8f80aa1bd8306e524d0c56fa1bc43136a324 (patch) | |
tree | 79bf54c4b7213babdce63eaaf3447e5b09c4be11 /basic | |
parent | 2d1eaee66b12fc0fdc7acdd911a63f5b68d5a196 (diff) |
StarBASIC::ErrorHdl sal_Bool->bool
Change-Id: I68cc6c6b63174ff16e5fda00f62172e1eaacbf0d
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sb.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index c1d93636f070..f5f247abbda6 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1822,10 +1822,9 @@ sal_Int32 StarBASIC::GetErl() } } -sal_Bool StarBASIC::ErrorHdl() +bool StarBASIC::ErrorHdl() { - return (sal_Bool) ( aErrorHdl.IsSet() - ? aErrorHdl.Call( this ) : sal_False ); + return aErrorHdl.IsSet() && aErrorHdl.Call( this ); } Link StarBASIC::GetGlobalErrorHdl() |