sw,sc: Signature Line: fix VclPtr assertion
commit6de194cb685dbe105a73812afa73070d04341bfb
authorMichael Stahl <Michael.Stahl@cib.de>
Tue, 24 Jul 2018 11:05:26 +0000 (24 13:05 +0200)
committerMichael Stahl <Michael.Stahl@cib.de>
Tue, 24 Jul 2018 13:06:07 +0000 (24 15:06 +0200)
treef5300bf1f4cc4c5874d5ec2122b7ee063f2bd0be
parent8347f43707ca1dc4f79dbaf3d5136f35067a6e6d
sw,sc: Signature Line: fix VclPtr assertion

Insert a Signature Line, right click, Sign..., Cancel

include/vcl/vclptr.hxx:116: VclPtr<T>::~VclPtr() [with reference_type = AbstractSignSignatureLineDialog]: Assertion `(!m_rInnerRef.get() || m_rInnerRef->isDisposed() || m_rInnerRef->getRefCount() > 1) && "someone forgot to call dispose()"' failed.

Change-Id: I09a1b37b917b267a84ee95fb375658974ee1b320
Reviewed-on: https://gerrit.libreoffice.org/57913
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
sc/source/ui/view/tabvwshb.cxx
sw/source/uibase/uiview/viewdlg2.cxx