Kaydet (Commit) 516c7519 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:{implicitboolconversion,salbool}

Change-Id: I795a50241b9d77127b5ee5558e0cd706e0fdb76b
üst cbc32e2d
......@@ -173,7 +173,7 @@ Q_SIGNALS:
void setValueSignal(sal_Int16 nControlId, sal_Int16 nControlAction,
const css::uno::Any& rValue);
css::uno::Any getValueSignal(sal_Int16 nControlId, sal_Int16 nControlAction);
void enableControlSignal(sal_Int16 nControlId, sal_Bool bEnable);
void enableControlSignal(sal_Int16 nControlId, bool bEnable);
void setLabelSignal(sal_Int16 nControlId, const OUString& rLabel);
OUString getLabelSignal(sal_Int16 nControlId);
void appendFilterSignal(const OUString& rTitle, const OUString& rFilter);
......@@ -199,7 +199,7 @@ private Q_SLOTS:
return getValue(nControlId, nControlAction);
}
void enableControlSlot(sal_Int16 nControlId, sal_Bool bEnable)
void enableControlSlot(sal_Int16 nControlId, bool bEnable)
{
return enableControl(nControlId, bEnable);
}
......
......@@ -180,7 +180,7 @@ sal_Int16 SAL_CALL KDE5FilePicker::execute()
_dialog->show();
//block and wait for user input
return _dialog->exec() == QFileDialog::Accepted;
return _dialog->exec() == QFileDialog::Accepted ? 1 : 0;
}
void SAL_CALL KDE5FilePicker::setMultiSelectionMode(sal_Bool multiSelect)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment