diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-05-22 23:35:50 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-05-23 13:50:15 +0200 |
commit | d30c66cb1954103a159da2ef82dba4bf9685844f (patch) | |
tree | c4467e85479f4144ac2293e5acab988e590ea4be | |
parent | dea06b746fb0b9e7d06f4eeba41c352bd33d887c (diff) |
fix for fdo#37429 crash when copy/paste table from writer to calc
-rw-r--r-- | sc/source/filter/rtf/rtfparse.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/rtf/rtfparse.cxx b/sc/source/filter/rtf/rtfparse.cxx index 44d0498f0..12431383f 100644 --- a/sc/source/filter/rtf/rtfparse.cxx +++ b/sc/source/filter/rtf/rtfparse.cxx @@ -299,7 +299,7 @@ void ScRTFParser::ProcToken( ImportInfo* pInfo ) { case RTF_TROWD: // denotes table row defauls, before RTF_CELLX { - if ( (pD = &(pDefaultList->back())) != 0 ) + if ( !pDefaultList->empty() && (pD = &(pDefaultList->back())) != 0 ) nLastWidth = pD->nTwips; nColCnt = 0; pDefaultList->clear(); |