diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 17:44:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-27 08:55:56 +0100 |
commit | 7af733d9ef65fddd12ef5fae82808ba2f7f608df (patch) | |
tree | 360afc7f8c5b7963730885255f631c9896f683b4 /reportdesign | |
parent | 05f5c4d4d6addf5321a40595f598e55dce376f6f (diff) |
tweak assert so comment appears in abort message
Change-Id: Ibf78e5cd1620f0b61cae030e3870be4a6f87e71d
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/core/api/Section.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/core/api/Section.cxx b/reportdesign/source/core/api/Section.cxx index a287bc1cf8fb..e70bb3bb96d5 100644 --- a/reportdesign/source/core/api/Section.cxx +++ b/reportdesign/source/core/api/Section.cxx @@ -199,7 +199,7 @@ void OSection::init() { uno::Reference< report::XReportDefinition> xReport = getReportDefinition(); ::boost::shared_ptr<rptui::OReportModel> pModel = OReportDefinition::getSdrModel(xReport); - assert(pModel); //"No model set at the report definition!" + assert(pModel && "No model set at the report definition!"); if ( pModel ) { uno::Reference<report::XSection> const xSection(this); |