diff options
Diffstat (limited to 'sw/source/core/doc/docglos.cxx')
-rw-r--r-- | sw/source/core/doc/docglos.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/doc/docglos.cxx b/sw/source/core/doc/docglos.cxx index 42d2be595005..1a76b2eb4e21 100644 --- a/sw/source/core/doc/docglos.cxx +++ b/sw/source/core/doc/docglos.cxx @@ -107,14 +107,14 @@ static void lcl_copyDocumentProperties( /* -------------------------------------------------- Description: inserts an AutoText block --------------------------------------------------*/ -sal_Bool SwDoc::InsertGlossary( SwTextBlocks& rBlock, const String& rEntry, +bool SwDoc::InsertGlossary( SwTextBlocks& rBlock, const String& rEntry, SwPaM& rPaM, SwCrsrShell* pShell ) { - sal_Bool bRet = sal_False; + bool bRet = false; sal_uInt16 nIdx = rBlock.GetIndex( rEntry ); if( (sal_uInt16) -1 != nIdx ) { - sal_Bool bSav_IsInsGlossary = mbInsOnlyTxtGlssry; + bool bSav_IsInsGlossary = mbInsOnlyTxtGlssry; mbInsOnlyTxtGlssry = rBlock.IsOnlyTextBlock( nIdx ); if( rBlock.BeginGetDoc( nIdx ) ) @@ -188,7 +188,7 @@ sal_Bool SwDoc::InsertGlossary( SwTextBlocks& rBlock, const String& rEntry, UnlockExpFlds(); if( !IsExpFldsLocked() ) UpdateExpFlds(NULL, true); - bRet = sal_True; + bRet = true; } mbInsOnlyTxtGlssry = bSav_IsInsGlossary; } |