diff options
Diffstat (limited to 'sc/source/filter/rtf/rtfparse.cxx')
-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 39044ba2b201..69c78c0b8ec0 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(); |