summaryrefslogtreecommitdiffstats
path: root/sw/source/filter/ww8/wrtw8nds.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-06-20 00:49:05 +0200
committerMichael Stahl <mstahl@redhat.com>2015-06-20 11:42:40 +0200
commita297df5f9df973205e50f908f60e231af4d12823 (patch)
treec15963c92a5b59735050a56c58e8443bddcfa39d /sw/source/filter/ww8/wrtw8nds.cxx
parentsw: WW8 export: remove newly unused parameters (diff)
downloadcore-a297df5f9df973205e50f908f60e231af4d12823.tar.gz
core-a297df5f9df973205e50f908f60e231af4d12823.zip
sw: WW8 export: remove WW6 export, partB: newly dead functions
Change-Id: I3531ca574239ee9e47a111d1a1d73b623292c80f
Diffstat (limited to 'sw/source/filter/ww8/wrtw8nds.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx49
1 files changed, 0 insertions, 49 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index c7062baf3cb9..cc0bf535e901 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2845,55 +2845,6 @@ void WW8Export::AppendSection( const SwPageDesc *pPageDesc, const SwSectionForma
// Flys
-void WW8Export::OutWW6FlyFrmsInContent( const SwTextNode& rNd )
-{
- assert(false); // TODO
-
- if (const SwpHints* pTextAttrs = rNd.GetpSwpHints())
- {
- for( size_t n=0; n < pTextAttrs->Count(); ++n )
- {
- const SwTextAttr* pAttr = (*pTextAttrs)[ n ];
- if( RES_TXTATR_FLYCNT == pAttr->Which() )
- {
- // attribute bound to a character
- const SwFormatFlyCnt& rFlyContent = pAttr->GetFlyCnt();
- const SwFlyFrameFormat& rFlyFrameFormat = *static_cast<SwFlyFrameFormat*>(rFlyContent.GetFrameFormat());
- const SwNodeIndex* pNodeIndex = rFlyFrameFormat.GetContent().GetContentIdx();
-
- if( pNodeIndex )
- {
- sal_uLong nStt = pNodeIndex->GetIndex()+1,
- nEnd = pNodeIndex->GetNode().EndOfSectionIndex();
-
- if( (nStt < nEnd) && !m_pDoc->GetNodes()[ nStt ]->IsNoTextNode() )
- {
- Point aOffset;
- // get rectangle (bounding box?) of Fly and paragraph
- SwRect aParentRect(rNd.FindLayoutRect(false, &aOffset)),
- aFlyRect(rFlyFrameFormat.FindLayoutRect(false, &aOffset ) );
-
- aOffset = aFlyRect.Pos() - aParentRect.Pos();
-
- // let PaM point to content of Fly-frame format
- SaveData( nStt, nEnd );
-
- // is analysed in OutputFormat()
- m_pFlyOffset = &aOffset;
- m_eNewAnchorType = rFlyFrameFormat.GetAnchor().GetAnchorId();
- sw::Frame aFrm(rFlyFrameFormat, SwPosition(rNd));
- m_pParentFrame = &aFrm;
- // Ok, write it out:
- WriteText();
-
- RestoreData();
- }
- }
- }
- }
- }
-}
-
void WW8AttributeOutput::OutputFlyFrame_Impl( const sw::Frame& rFormat, const Point& rNdTopLeft )
{
const SwFrameFormat &rFrameFormat = rFormat.GetFrameFormat();