[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - xmloff/source
Thorsten Behrens
tbehrens at suse.com
Tue Apr 30 02:24:41 PDT 2013
xmloff/source/text/txtimp.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f4ba414e86b48a9b2b0439c5a5cf29042be4f7fd
Author: Thorsten Behrens <tbehrens at suse.com>
Date: Tue Apr 30 11:20:01 2013 +0200
Fix fdo#64062 - can't assume para styles to be there.
Change-Id: I5da53ff44fdf00ec6c0fdf1a722f806971b6683a
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index b48225a..3abafb5 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 );
More information about the Libreoffice-commits
mailing list