summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-10-05 22:26:53 +0200
committerMichael Stahl <mstahl@redhat.com>2017-10-05 22:48:21 +0200
commit34f4446b0a5e04465216ff4ec2547aa82e0f06c2 (patch)
tree7d8f3749ccb8bce2d4dad2383f3f4f8736da927f /editeng
parent58ba9226e408d56c655184940fd326bae9345fb6 (diff)
editeng: fix assert about wrong EE_PARA_OUTLLEVEL item
It's a SfxInt16Item in DefItems::DefItems(). Change-Id: I01644b0b9d689d4d8756c52f1c2868f03b3037a5
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/rtf/rtfitem.cxx2
1 files changed, 1 insertions, 1 deletions
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;