editeng/source/rtf/rtfitem.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 34f4446b0a5e04465216ff4ec2547aa82e0f06c2
Author: Michael Stahl <mst...@redhat.com>
Date:   Thu Oct 5 22:26:53 2017 +0200

    editeng: fix assert about wrong EE_PARA_OUTLLEVEL item
    
    It's a SfxInt16Item in DefItems::DefItems().
    
    Change-Id: I01644b0b9d689d4d8756c52f1c2868f03b3037a5

diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index 6913497186f8..290c90686229 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -307,7 +307,7 @@ void SvxRTFParser::ReadAttr( int nToken, SfxItemSet* pSet )
             case RTF_LEVEL:
                 if( aPardMap.nOutlineLvl )
                 {
-                    pSet->Put( SfxUInt16Item( aPardMap.nOutlineLvl,
+                    pSet->Put( SfxInt16Item( aPardMap.nOutlineLvl,
                                                 (sal_uInt16)nTokenValue ));
                 }
                 break;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to