tdf#153039 submitting XML from XForms document
regression from
commit 5fd2f0b93b
Author: Noel Grandin <noel.grandin@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.grandin@collabora.co.uk>
This commit is contained in:
@@ -86,7 +86,7 @@ Submission::~Submission() noexcept
|
|||||||
void Submission::setModel( const Reference<XModel>& xModel )
|
void Submission::setModel( const Reference<XModel>& xModel )
|
||||||
{
|
{
|
||||||
mxModel = dynamic_cast<Model*>(xModel.get());
|
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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user