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

Be explicit when using bool as integral value

Change-Id: I23e108de5c8d4c86b7fc29b4b039a0e2019df81d
üst 98745471
......@@ -354,7 +354,7 @@ RTSDevicePage::RTSDevicePage( RTSDialog* pParent )
bool bAutoIsPDF = officecfg::Office::Common::Print::Option::Printer::PDFAsStandardPrintJobFormat::get();
assert(nLevelEntryData != 0 || bAutoIsPDF == m_pParent->m_aJobData.m_nPDFDevice);
assert(nLevelEntryData != 0 || int(bAutoIsPDF) == m_pParent->m_aJobData.m_nPDFDevice);
OUString sStr = m_pLevelBox->GetEntry(0);
m_pLevelBox->InsertEntry(sStr.replaceAll("%s", bAutoIsPDF ? m_pLevelBox->GetEntry(5) : m_pLevelBox->GetEntry(1)), 0);
......
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