View | Details | Raw Unified | Return to issue 120568
Collapse All | Expand All

(-)main/sw/source/filter/ww8/wrtww8gr.cxx (-1 / +13 lines)
Lines 71-77 Link Here
71
#include "wrtww8.hxx"
71
#include "wrtww8.hxx"
72
#include "ww8par.hxx"
72
#include "ww8par.hxx"
73
#include "escher.hxx"
73
#include "escher.hxx"
74
74
#include "ww8attributeoutput.hxx"
75
#include "fmturl.hxx"
75
#include "docsh.hxx"
76
#include "docsh.hxx"
76
#include <cstdio>
77
#include <cstdio>
77
78
Lines 364-369 Link Here
364
365
365
void WW8Export::OutGrf(const sw::Frame &rFrame)
366
void WW8Export::OutGrf(const sw::Frame &rFrame)
366
{
367
{
368
    const SwFmtURL& rURL = rFrame.GetFrmFmt().GetAttrSet().GetURL();
369
    bool bURLStarted = false;
370
    if( rURL.GetURL().Len() && rFrame.GetWriterType() == sw::Frame::eGraphic)
371
    {
372
        bURLStarted = true;
373
        m_pAttrOutput->StartURL( rURL.GetURL(), rURL.GetTargetFrameName() );         
374
    }
375
367
    // GrfNode fuer spaeteres rausschreiben der Grafik merken
376
    // GrfNode fuer spaeteres rausschreiben der Grafik merken
368
    pGrf->Insert(rFrame);
377
    pGrf->Insert(rFrame);
369
378
Lines 485-490 Link Here
485
        OutputField( 0, ww::eINCLUDEPICTURE, String(), WRITEFIELD_CLOSE );
494
        OutputField( 0, ww::eINCLUDEPICTURE, String(), WRITEFIELD_CLOSE );
486
    }
495
    }
487
    // <--
496
    // <--
497
498
    if( bURLStarted )
499
        m_pAttrOutput->EndURL();
488
}
500
}
489
501
490
GraphicDetails& GraphicDetails::operator=(const GraphicDetails &rOther)
502
GraphicDetails& GraphicDetails::operator=(const GraphicDetails &rOther)

Return to issue 120568