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

(-)source/filter/excel/xicontent.cxx (+6 lines)
Lines 379-384 Link Here
379
    if( ::get_flag( nFlags, EXC_HLINK_FRAME ) )
379
    if( ::get_flag( nFlags, EXC_HLINK_FRAME ) )
380
        lclIgnoreString32( rStrm, true );
380
        lclIgnoreString32( rStrm, true );
381
381
382
    // URL fields are zero-terminated - do not let the stream replace them 
383
    // in the lclAppendString32() with the '?' character.
384
    rStrm.SetNulSubstChar( '\0' );
385
        
382
    // UNC path
386
    // UNC path
383
    if( ::get_flag( nFlags, EXC_HLINK_UNC ) )
387
    if( ::get_flag( nFlags, EXC_HLINK_UNC ) )
384
    {
388
    {
Lines 432-437 Link Here
432
        pTextMark.reset( new String );
436
        pTextMark.reset( new String );
433
        lclAppendString32( *pTextMark, rStrm, true );
437
        lclAppendString32( *pTextMark, rStrm, true );
434
    }
438
    }
439
440
    rStrm.SetNulSubstChar();    // back to default
435
441
436
    DBG_ASSERT( !rStrm.GetRecLeft(), "XclImpHyperlink::ReadHlink - record size mismatch" );
442
    DBG_ASSERT( !rStrm.GetRecLeft(), "XclImpHyperlink::ReadHlink - record size mismatch" );
437
443

Return to issue 21492