summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/api/Section.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/core/api/Section.cxx')
-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();
}