summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-05 15:01:36 +0100
committerMichael Stahl <mstahl@redhat.com>2014-03-06 00:19:59 +0100
commitd3fcaef7dce044b7e053278a7ea972dc957ca7e2 (patch)
treef73c646bc3f04bf1070a0fa6013fd8b7fca30e16
parent20c03592d9c436a6566f926154f46cbba0919675 (diff)
SwXText::convertToTable(): assert that SwTable is client of table format
... which is wild guessing related to crash in rhbz#1010982. Change-Id: Ifbd9309a5cff1fff3a8c6022d3a20b2b8c175dce
-rw-r--r--sw/source/core/unocore/unotext.cxx2
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;
}