--- src/wp/impexp/xp/ie_exp_AbiWord_1.cpp.orig Sun Feb 6 12:20:05 2000 +++ src/wp/impexp/xp/ie_exp_AbiWord_1.cpp Sun Feb 6 12:33:16 2000 @@ -54,12 +54,12 @@ return (UT_stricmp(szSuffix,".abw") == 0); } -IEStatus IE_Exp_AbiWord_1::StaticConstructor(PD_Document * pDocument, +UT_Error IE_Exp_AbiWord_1::StaticConstructor(PD_Document * pDocument, IE_Exp ** ppie) { IE_Exp_AbiWord_1 * p = new IE_Exp_AbiWord_1(pDocument); *ppie = p; - return IES_OK; + return UT_OK; } UT_Bool IE_Exp_AbiWord_1::GetDlgLabels(const char ** pszDesc, @@ -560,18 +560,18 @@ /*****************************************************************/ /*****************************************************************/ -IEStatus IE_Exp_AbiWord_1::_writeDocument(void) +UT_Error IE_Exp_AbiWord_1::_writeDocument(void) { m_pListener = new s_AbiWord_1_Listener(m_pDocument,this); if (!m_pListener) - return IES_NoMemory; + return UT_IE_NOMEMORY; if (!m_pDocument->tellListener(static_cast(m_pListener))) - return IES_Error; + return UT_IE_COULDNOTWRITE; delete m_pListener; m_pListener = NULL; - return ((m_error) ? IES_CouldNotWriteToFile : IES_OK); + return ((m_error) ? UT_IE_COULDNOTWRITE : UT_OK); } /*****************************************************************/