Kaydet (Commit) 84349428 authored tarafından Miklos Vajna's avatar Miklos Vajna

Related: fdo#38966 null pointer check for the unit test

üst 25a09766
......@@ -368,7 +368,7 @@ uno::Reference< beans::XPropertySet > SectionPropertyMap::GetPageStyle(
{
if( bFirst )
{
if( !m_sFirstPageStyleName.getLength() )
if( !m_sFirstPageStyleName.getLength() && xPageStyles.is() )
{
uno::Sequence< ::rtl::OUString > aPageStyleNames = xPageStyles->getElementNames();
m_sFirstPageStyleName = lcl_FindUnusedPageStyleName(aPageStyleNames);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment