diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-04-15 18:09:25 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-04-15 18:14:12 +0200 |
commit | 60556d58e88946ee27bce3c47f5ec9b02e27fdf0 (patch) | |
tree | a5ab0ee84186aa85ee14f9b80803e63b23bc1270 /sw/source/filter/ww8 | |
parent | f182521948f0d31b0f6ad7b98eb5fc32562ba3d1 (diff) |
sw: remove unused classes in RTF export
- RTFProtect was never used by the RTF export filter, unused since the
old RTF import is gone
- RTFVertOrient and RTFHoriOrient is obsoleted by the new-style posrelh
and posrelv textframe properties
Change-Id: I0a7d306870900b9ff86d5a173b540db04aed012d
Diffstat (limited to 'sw/source/filter/ww8')
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 627767684efa..25d3a082b3ee 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -2867,12 +2867,6 @@ void RtfAttributeOutput::FormatVertOrientation( const SwFmtVertOrient& rFlyVert m_rExport.OutLong(rFlyVert.GetPos() + m_pFlyFrameSize->Height()); } } - else if ( !m_rExport.bRTFFlySyntax ) - { - RTFVertOrient aVO( static_cast< sal_uInt16 >(rFlyVert.GetVertOrient()), static_cast< sal_uInt16 >(rFlyVert.GetRelationOrient()) ); - m_aRunText->append(OOO_STRING_SVTOOLS_RTF_FLYVERT); - m_aRunText->append((sal_Int32)aVO.GetValue()); - } } void RtfAttributeOutput::FormatHorizOrientation( const SwFmtHoriOrient& rFlyHori ) @@ -2915,13 +2909,6 @@ void RtfAttributeOutput::FormatHorizOrientation( const SwFmtHoriOrient& rFlyHori m_rExport.OutLong(rFlyHori.GetPos() + m_pFlyFrameSize->Width()); } } - else if ( !m_rExport.bRTFFlySyntax ) - { - RTFHoriOrient aHO( static_cast< sal_uInt16 >(rFlyHori.GetHoriOrient()), - static_cast< sal_uInt16 >(rFlyHori.GetRelationOrient()) ); - m_aRunText->append(OOO_STRING_SVTOOLS_RTF_FLYHORZ); - m_aRunText->append((sal_Int32)aHO.GetValue()); - } } void RtfAttributeOutput::FormatAnchor( const SwFmtAnchor& rAnchor ) |