main/sw/source/filter/html/swhtml.cxx
// override so we can parse DOCINFO field subtypes INFO[1-4]
override so we can parse DOCINFO field subtypes INFO[1-4]
override so we can parse DOCINFO field subtypes INFO [ 1 - 4 ]
void SwHTMLParser::AddMetaUserDefined( ::rtl::OUString const & i_rMetaName )
{
    ::rtl::OUString* pName 
         (!m_InfoNames[0].getLength() ? &m_InfoNames[0] :
         (!m_InfoNames[1].getLength() ? &m_InfoNames[1] :
         (!m_InfoNames[2].getLength() ? &m_InfoNames[2] :
         (!m_InfoNames[3].getLength() ? &m_InfoNames[3] : 0 ))));
    if (pName)
    {
        (*pName) = i_rMetaName;
    }
}
void SwHTMLParser :: AddMetaUserDefined ( :: rtl :: OUString const & i_rMetaName ) { :: rtl :: OUString * pName ( ! m_InfoNames [ 0 ] . getLength ( ) ? & m_InfoNames [ 0 ] : ( ! m_InfoNames [ 1 ] . getLength ( ) ? & m_InfoNames [ 1 ] : ( ! m_InfoNames [ 2 ] . getLength ( ) ? & m_InfoNames [ 2 ] : ( ! m_InfoNames [ 3 ] . getLength ( ) ? & m_InfoNames [ 3 ] : 0 ) ) ) ) ; if ( pName ) { ( * pName ) = i_rMetaName ; } }
override so we can parse DOCINFO field subtypes INFO[1-4]
override so we can parse DOCINFO field subtypes INFO [ 1 - 4 ]
// unless we already have 4 names, append the argument to m_InfoNames // the first empty string in m_InfoNames