diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 21:12:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 21:28:09 +0100 |
commit | a067822a515579c59f660d9ce03dca1495768672 (patch) | |
tree | ebe27ba1e9588bb19a026c64deca6122e46770e2 /padmin | |
parent | bool improvements (diff) | |
download | core-a067822a515579c59f660d9ce03dca1495768672.tar.gz core-a067822a515579c59f660d9ce03dca1495768672.zip |
Be explicit when using bool as integral value
Change-Id: I23e108de5c8d4c86b7fc29b4b039a0e2019df81d
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/prtsetup.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/padmin/source/prtsetup.cxx b/padmin/source/prtsetup.cxx index a91d43f2a43d..d233496da549 100644 --- a/padmin/source/prtsetup.cxx +++ b/padmin/source/prtsetup.cxx @@ -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); |