[Libreoffice-commits] core.git: editeng/source

Michael Stahl mstahl at redhat.com
Thu Oct 5 20:50:24 UTC 2017


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

New commits:
commit 34f4446b0a5e04465216ff4ec2547aa82e0f06c2
Author: Michael Stahl <mstahl at 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;


More information about the Libreoffice-commits mailing list