diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-02-27 23:20:24 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-28 14:02:41 +0100 |
commit | dbb74ee9950dc706ea4fde3397a4c1d19b172fa9 (patch) | |
tree | 4c71419acded13cf5c86ca959d31eef71d1e74be /writerfilter/source | |
parent | 0d4ee442f170eee4c35b9a1b1cb596f71d256b1e (diff) |
fdo#61000: writerfilter: filter out unsupported list tab stops
Change-Id: Ic9d31eba84b1d8d9cf93d8289621a65d43521a8b
Diffstat (limited to 'writerfilter/source')
-rw-r--r-- | writerfilter/source/dmapper/NumberingManager.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx index fa59bd2c7062..38b1f07a1c9d 100644 --- a/writerfilter/source/dmapper/NumberingManager.cxx +++ b/writerfilter/source/dmapper/NumberingManager.cxx @@ -135,7 +135,13 @@ void ListLevel::SetValue( Id nId, sal_Int32 nValue ) m_nXChFollow = nValue; break; case NS_ooxml::LN_CT_TabStop_pos: - m_nTabstop = nValue; + if (nValue < 0) + { + SAL_INFO("writerfilter", + "unsupported list tab stop position " << nValue); + } + else + m_nTabstop = nValue; break; default: OSL_FAIL( "this line should never be reached"); |