diff options
Diffstat (limited to 'sw/source/uibase/misc/glosdoc.cxx')
-rw-r--r-- | sw/source/uibase/misc/glosdoc.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/misc/glosdoc.cxx b/sw/source/uibase/misc/glosdoc.cxx index 0959f925d001..513aba78930d 100644 --- a/sw/source/uibase/misc/glosdoc.cxx +++ b/sw/source/uibase/misc/glosdoc.cxx @@ -398,9 +398,9 @@ void SwGlossaries::UpdateGlosPath(bool bFull) m_aInvalidPaths = aInvalidPaths; // wrong path, that means AutoText directory doesn't exist - ErrorHandler::HandleError( *new StringErrorInfo( + ErrorHandler::HandleError( (new StringErrorInfo( ERR_AUTOPATH_ERROR, lcl_makePath(m_aInvalidPaths), - ERRCODE_BUTTON_OK | ERRCODE_MSG_ERROR )); + ERRCODE_BUTTON_OK | ERRCODE_MSG_ERROR ))->GetErrorCode()); m_bError = true; } else @@ -419,8 +419,8 @@ void SwGlossaries::UpdateGlosPath(bool bFull) void SwGlossaries::ShowError() { - sal_uInt32 nPathError = *new StringErrorInfo(ERR_AUTOPATH_ERROR, - lcl_makePath(m_aInvalidPaths), ERRCODE_BUTTON_OK ); + sal_uInt32 nPathError = (new StringErrorInfo(ERR_AUTOPATH_ERROR, + lcl_makePath(m_aInvalidPaths), ERRCODE_BUTTON_OK ))->GetErrorCode(); ErrorHandler::HandleError( nPathError ); } |