diff options
author | Brennan Vincent <brennanv@email.arizona.edu> | 2012-04-02 07:42:07 -0700 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-04-03 09:17:48 +0200 |
commit | 290654cc232d5d035f1c7278267ce32ffc39043e (patch) | |
tree | b426cb077e126e523286e341d231bf1b9bf44ef8 /sw | |
parent | 844b4520a9f0879d7b756654cef8fdbaa03a9000 (diff) |
Fix RTF levelfollow import and export
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 1eb080341981..09705d907625 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -1319,7 +1319,7 @@ void RtfAttributeOutput::NumberingLevel( sal_uInt8 nLevel, sal_uInt16 nNumberingType, SvxAdjust eAdjust, const sal_uInt8 * pNumLvlPos, - sal_uInt8 /*nFollow*/, + sal_uInt8 nFollow, const wwFont * pFont, const SfxItemSet * pOutSet, sal_Int16 nIndentAt, @@ -1364,7 +1364,8 @@ void RtfAttributeOutput::NumberingLevel( sal_uInt8 nLevel, m_rExport.Strm() << OOO_STRING_SVTOOLS_RTF_LEVELSTARTAT; m_rExport.OutULong( nStart ); - m_rExport.Strm() << OOO_STRING_SVTOOLS_RTF_LEVELFOLLOW << "0"; + m_rExport.Strm() << OOO_STRING_SVTOOLS_RTF_LEVELFOLLOW; + m_rExport.OutULong( nFollow ); // leveltext group m_rExport.Strm() << '{' << OOO_STRING_SVTOOLS_RTF_LEVELTEXT << ' '; |