diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2013-04-30 11:20:01 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-04-30 11:23:58 +0200 |
commit | f4ba414e86b48a9b2b0439c5a5cf29042be4f7fd (patch) | |
tree | 8d0513d9a00bc2959ece9a28f226197b00f2098a /xmloff | |
parent | bb5bde68172dadf8e0ed13b40d523af28e2a7600 (diff) |
Fix fdo#64062 - can't assume para styles to be there.
Change-Id: I5da53ff44fdf00ec6c0fdf1a722f806971b6683a
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index b48225aac68d..3abafb5fd3f7 100644 --- a/xmloff/source/text/txtimp.cxx +++ b/xmloff/source/text/txtimp.cxx @@ -1803,7 +1803,7 @@ OUString XMLTextImportHelper::SetStyleAndAttrs( style, if it has no direct list style property and (if exists) the 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 ); |