summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-28 11:07:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 13:44:14 +0200
commit41b52249414ec8efe1042e2a1fe44e0e57a179da (patch)
tree2b2761c1d1da115a5aa835495b700cc2aa6902a5 /reportdesign
parentd6550ca7bbcb375cdb7ca677749a2e248c9f007f (diff)
Fix Boolean expression
Change-Id: Ic0042037847fa1ed277a23325a0bfcbab3b0900c
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/api/Section.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/reportdesign/source/core/api/Section.cxx b/reportdesign/source/core/api/Section.cxx
index 7ce500da3e25..0007774750ed 100644
--- a/reportdesign/source/core/api/Section.cxx
+++ b/reportdesign/source/core/api/Section.cxx
@@ -574,8 +574,7 @@ sal_Bool SAL_CALL OSection::hasForms() throw (uno::RuntimeException, std::except
{
// no lock because m_xDrawPage_FormSupplier is const
return (m_xDrawPage_FormSupplier.is())
- ? m_xDrawPage_FormSupplier->hasForms()
- : 0;
+ && m_xDrawPage_FormSupplier->hasForms();
}