diff options
-rw-r--r-- | lotuswordpro/qa/cppunit/data/fail/null-2.lwp | bin | 0 -> 22368 bytes | |||
-rw-r--r-- | lotuswordpro/source/filter/lwpfrib.cxx | 3 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lotuswordpro/qa/cppunit/data/fail/null-2.lwp b/lotuswordpro/qa/cppunit/data/fail/null-2.lwp Binary files differnew file mode 100644 index 000000000000..cd7e07278e8d --- /dev/null +++ b/lotuswordpro/qa/cppunit/data/fail/null-2.lwp diff --git a/lotuswordpro/source/filter/lwpfrib.cxx b/lotuswordpro/source/filter/lwpfrib.cxx index f0673e992056..64f49eecef2a 100644 --- a/lotuswordpro/source/filter/lwpfrib.cxx +++ b/lotuswordpro/source/filter/lwpfrib.cxx @@ -425,7 +425,8 @@ rtl::Reference<XFFont> LwpFrib::GetFont() if(m_pModifiers&&m_pModifiers->FontID) { LwpFoundry* pFoundry = m_pPara->GetFoundry(); - pFont = pFoundry->GetFontManger().CreateFont(m_pModifiers->FontID); + if (pFoundry) + pFont = pFoundry->GetFontManger().CreateFont(m_pModifiers->FontID); } else { |