diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-02-28 11:52:04 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-28 11:52:04 +0200 |
commit | bf470dcdf53beeca6a93f89b4d7c82ad11dc7168 (patch) | |
tree | daf4ebef1aa5fc7ab7b45abfe030139df188cfc3 /vcl | |
parent | More EndDialog() cleanup (diff) | |
download | core-bf470dcdf53beeca6a93f89b4d7c82ad11dc7168.tar.gz core-bf470dcdf53beeca6a93f89b4d7c82ad11dc7168.zip |
WaE: implicit conversion (IntegralCast) from bool to 'int'
Change-Id: I75d079a34355454a6e6b741f029c5ec37c149b17
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index 7c1c5a2e22d4..7f7cbd8468ea 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -1052,7 +1052,7 @@ void PrintDialog::setupOptionalUI() pBtn->SetText( aChoices[m] ); pBtn->Check( m == nSelectVal ); pBtn->SetToggleHdl( LINK( this, PrintDialog, UIOption_RadioHdl ) ); - if( aChoicesDisabled.getLength() > m && aChoicesDisabled[m] == true ) + if( aChoicesDisabled.getLength() > m && aChoicesDisabled[m] ) pBtn->Enable( false ); pBtn->Show(); maPropertyToWindowMap[ aPropertyName ].push_back( pBtn ); |