summaryrefslogtreecommitdiff
path: root/sw/source/uibase/misc/glosdoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/misc/glosdoc.cxx')
-rw-r--r--sw/source/uibase/misc/glosdoc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/misc/glosdoc.cxx b/sw/source/uibase/misc/glosdoc.cxx
index cc7fe903235d..53ea0b2e932a 100644
--- a/sw/source/uibase/misc/glosdoc.cxx
+++ b/sw/source/uibase/misc/glosdoc.cxx
@@ -293,7 +293,7 @@ SwTextBlocks* SwGlossaries::GetGlosDoc( const OUString &rName, bool bCreate ) co
if( pTmp->GetError() )
{
ErrorHandler::HandleError( pTmp->GetError() );
- bOk = !IsError( pTmp->GetError() );
+ bOk = ! pTmp->GetError().IsError();
}
if( bOk && pTmp->GetName().isEmpty() )
@@ -419,7 +419,7 @@ void SwGlossaries::UpdateGlosPath(bool bFull)
void SwGlossaries::ShowError()
{
- sal_uInt32 nPathError = *new StringErrorInfo(ERR_AUTOPATH_ERROR,
+ ErrCode nPathError = *new StringErrorInfo(ERR_AUTOPATH_ERROR,
lcl_makePath(m_aInvalidPaths), DialogMask::ButtonsOk );
ErrorHandler::HandleError( nPathError );
}