diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-03-05 15:01:36 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-06 00:19:59 +0100 |
commit | d3fcaef7dce044b7e053278a7ea972dc957ca7e2 (patch) | |
tree | f73c646bc3f04bf1070a0fa6013fd8b7fca30e16 /sw | |
parent | 20c03592d9c436a6566f926154f46cbba0919675 (diff) |
SwXText::convertToTable(): assert that SwTable is client of table format
... which is wild guessing related to crash in rhbz#1010982.
Change-Id: Ifbd9309a5cff1fff3a8c6022d3a20b2b8c175dce
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unotext.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index 88e596bf33e2..721dda04fcd1 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -2319,6 +2319,8 @@ throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { } + assert(SwTable::FindTable(pTable->GetFrmFmt()) == pTable); + assert(pTable->GetFrmFmt() == pTextTable->GetFrmFmt()); return xRet; } |