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

(-)tools/source/inet/inetmsg.cxx (-2 / +4 lines)
Lines 1390-1398 BOOL INetMIMEMessage::EnableAttachChild Link Here
1390
        // Generate a unique boundary from current time.
1390
        // Generate a unique boundary from current time.
1391
        sal_Char sTail[16 + 1];
1391
        sal_Char sTail[16 + 1];
1392
        Time aCurTime;
1392
        Time aCurTime;
1393
        sal_uInt64 nThis = reinterpret_cast< sal_uIntPtr >( this ); // we can be on a 64bit architecture
1394
        nThis = ( ( nThis >> 32 ) ^ nThis ) & SAL_MAX_UINT32;
1393
        sprintf (sTail, "%08X%08X",
1395
        sprintf (sTail, "%08X%08X",
1394
                 static_cast< unsigned int >(aCurTime.GetTime()),
1396
                 static_cast< sal_uInt32 >(aCurTime.GetTime()),
1395
                 reinterpret_cast< unsigned int >(this));
1397
                 static_cast< sal_uInt32 >(nThis));
1396
        m_aBoundary = "------------_4D48";
1398
        m_aBoundary = "------------_4D48";
1397
        m_aBoundary += sTail;
1399
        m_aBoundary += sTail;
1398
1400

Return to issue 66726