Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3694

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/94/3694/1

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

Change-Id: I5da53ff44fdf00ec6c0fdf1a722f806971b6683a
---
M xmloff/source/text/txtimp.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



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 @@
                  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 );
 

-- 
To view, visit https://gerrit.libreoffice.org/3694
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5da53ff44fdf00ec6c0fdf1a722f806971b6683a
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Thorsten Behrens <[email protected]>

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to