Kaydet (Commit) cd09b537 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Fix fdo#64062 - can't assume para styles to be there.

Change-Id: I5da53ff44fdf00ec6c0fdf1a722f806971b6683a
üst 788c152c
...@@ -1801,7 +1801,7 @@ OUString XMLTextImportHelper::SetStyleAndAttrs( ...@@ -1801,7 +1801,7 @@ OUString XMLTextImportHelper::SetStyleAndAttrs(
style, if it has no direct list style property and (if exists) the style, if it has no direct list style property and (if exists) the
automatic paragraph style has also no direct list style set. automatic paragraph style has also no direct list style set.
*/ */
if (m_pImpl->m_xParaStyles->hasByName(sStyleName)) if (m_pImpl->m_xParaStyles.is() && m_pImpl->m_xParaStyles->hasByName(sStyleName))
{ {
bool bOutlineStyleCandidate( false ); bool bOutlineStyleCandidate( false );
......
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