diff options
-rw-r--r-- | writerfilter/source/dmapper/NumberingManager.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx index 7691410854fa..5b316d5f9e39 100644 --- a/writerfilter/source/dmapper/NumberingManager.cxx +++ b/writerfilter/source/dmapper/NumberingManager.cxx @@ -136,6 +136,8 @@ void ListLevel::SetValue( Id nId, sal_Int32 nValue ) void ListLevel::SetParaStyle( boost::shared_ptr< StyleSheetEntry > pStyle ) { + if (!pStyle) + return; m_pParaStyle = pStyle; // AFAICT .docx spec does not identify which numberings or paragraph // styles are actually the ones to be used for outlines (chapter numbering), |