summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-16 10:27:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-16 10:29:45 +0200
commit79dafc7af0189935f81544dc8300b730b98db88f (patch)
tree538eacf2496428ca07c6436144c52394db3d9f1b /fpicker
parent53bf91d66e28b636af468fe0c4b00738436732b3 (diff)
loplugin:simplifybool
Change-Id: Id079a6cc2841f42b0dc10ed2be596cc8f7db4e25
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index 0d1fc8fd0dd2..2ae54aab9aa3 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -141,7 +141,7 @@ RemoteFilesDialog::RemoteFilesDialog( vcl::Window* pParent, WinBits nBits )
m_eMode = ( nBits & WB_SAVEAS ) ? REMOTEDLG_MODE_SAVE : REMOTEDLG_MODE_OPEN;
m_eType = ( nBits & WB_PATH ) ? REMOTEDLG_TYPE_PATHDLG : REMOTEDLG_TYPE_FILEDLG;
- m_bMultiselection = ( nBits & SFXWB_MULTISELECTION ) ? true : false;
+ m_bMultiselection = ( nBits & SFXWB_MULTISELECTION ) != 0;
m_bIsUpdated = false;
m_bIsConnected = false;
m_nCurrentFilter = LISTBOX_ENTRY_NOTFOUND;