forms/source/xforms/submission.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 27d76f145a9668999cc31c02b6f2712903e427db Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Jan 16 13:48:53 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Mon Jan 16 15:33:24 2023 +0000 tdf#153039 submitting XML from XForms document regression from commit 5fd2f0b93bd7d38a277823bfc251c71da7a6f490 Author: Noel Grandin <noel.gran...@collabora.co.uk> Date: Thu Jan 12 09:19:03 2023 +0200 use concrete class in Submission Change-Id: I99bc069b5243e994da71287960e29be6ab3338ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145567 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx index 8260095102b3..7a27305760e3 100644 --- a/forms/source/xforms/submission.cxx +++ b/forms/source/xforms/submission.cxx @@ -86,7 +86,7 @@ Submission::~Submission() noexcept void Submission::setModel( const Reference<XModel>& xModel ) { mxModel = dynamic_cast<Model*>(xModel.get()); - assert((!mxModel || !xModel) && "we only support an instance of Model here"); + assert(bool(mxModel)==bool(xModel) && "we only support an instance of Model here"); }