summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-02-28 11:52:04 +0200
committerTor Lillqvist <tml@collabora.com>2014-02-28 11:52:04 +0200
commitbf470dcdf53beeca6a93f89b4d7c82ad11dc7168 (patch)
treedaf4ebef1aa5fc7ab7b45abfe030139df188cfc3 /vcl
parentMore EndDialog() cleanup (diff)
downloadcore-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.cxx2
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 );