void PP_AttrProp::operator = (const PP_AttrProp &Other) { UT_uint32 countMyAttrs = ((Other.m_pAttributes) ? Other.m_pAttributes->size() : 0); UT_uint32 Index; for(Index = 0; Index < countMyAttrs; Index++) { const gchar * szName; const gchar * szValue; if(Other.getNthAttribute(Index, szName, szValue)) { setAttribute(szName, szValue); } } UT_uint32 countMyProps = ((Other.m_pProperties) ? Other.m_pProperties->size() : 0); for(Index = 0; Index < countMyProps; Index++) { const gchar * szName; const gchar * szValue; if(Other.getNthProperty(Index, szName, szValue)) { setProperty(szName, szValue); } } }