diff options
Diffstat (limited to 'vcl/source/control/edit.cxx')
-rw-r--r-- | vcl/source/control/edit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 406cf2d9faba..e31582511652 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -2409,7 +2409,7 @@ void Edit::SetEchoChar( sal_Unicode c ) void Edit::SetReadOnly( bool bReadOnly ) { - if ( mbReadOnly != bool(bReadOnly) ) + if ( mbReadOnly != bReadOnly ) { mbReadOnly = bReadOnly; if ( mpSubEdit ) |