diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-02-07 23:02:28 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-02-07 23:02:28 +0100 |
commit | 32cae6a2eaa41568888df9c8fc5605debd8d704a (patch) | |
tree | a17234bc71f7cbde274bfa2c9930d7ea2dfe35bf /sw/source/uibase/misc | |
parent | 178f5306979ef55a5682191dcdafb9e926e57cde (diff) |
Revert "create ErrorHandlerFlags scoped enum for error handling flags"
This reverts commit 05e78bde26d8b8b257ed22a0ce20c5b386a629d1.
Depends on the other commit that needs reverting
Diffstat (limited to 'sw/source/uibase/misc')
-rw-r--r-- | sw/source/uibase/misc/glosdoc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/misc/glosdoc.cxx b/sw/source/uibase/misc/glosdoc.cxx index 25210bc01d70..513aba78930d 100644 --- a/sw/source/uibase/misc/glosdoc.cxx +++ b/sw/source/uibase/misc/glosdoc.cxx @@ -400,7 +400,7 @@ void SwGlossaries::UpdateGlosPath(bool bFull) ErrorHandler::HandleError( (new StringErrorInfo( ERR_AUTOPATH_ERROR, lcl_makePath(m_aInvalidPaths), - ErrorHandlerFlags::ButtonsOk | ErrorHandlerFlags::MessageError ))->GetErrorCode()); + ERRCODE_BUTTON_OK | ERRCODE_MSG_ERROR ))->GetErrorCode()); m_bError = true; } else @@ -420,7 +420,7 @@ void SwGlossaries::UpdateGlosPath(bool bFull) void SwGlossaries::ShowError() { sal_uInt32 nPathError = (new StringErrorInfo(ERR_AUTOPATH_ERROR, - lcl_makePath(m_aInvalidPaths), ErrorHandlerFlags::ButtonsOk ))->GetErrorCode(); + lcl_makePath(m_aInvalidPaths), ERRCODE_BUTTON_OK ))->GetErrorCode(); ErrorHandler::HandleError( nPathError ); } |