diff options
Diffstat (limited to 'sw/source/ui/misc/glosdoc.cxx')
-rw-r--r-- | sw/source/ui/misc/glosdoc.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/ui/misc/glosdoc.cxx b/sw/source/ui/misc/glosdoc.cxx index 6ed886fb3974..2545da326b11 100644 --- a/sw/source/ui/misc/glosdoc.cxx +++ b/sw/source/ui/misc/glosdoc.cxx @@ -87,7 +87,7 @@ String lcl_CheckFileName( const String& rNewFilePath, sRet.EraseLeadingChars(); sRet.EraseTrailingChars(); - BOOL bOk = FALSE; + sal_Bool bOk = sal_False; if( sRet.Len() ) { String sTmpDir(rNewFilePath); @@ -270,7 +270,7 @@ sal_Bool SwGlossaries::RenameGroupDoc( sOldFileURL += INET_PATH_TOKEN; sOldFileURL += rOldGroup.GetToken(0, GLOS_DELIM); sOldFileURL += SwGlossaries::GetExtension(); - BOOL bExist = FStatHelper::IsDocument( sOldFileURL ); + sal_Bool bExist = FStatHelper::IsDocument( sOldFileURL ); DBG_ASSERT(bExist, "Gruppe existiert nicht!"); if(bExist) { @@ -290,8 +290,8 @@ sal_Bool SwGlossaries::RenameGroupDoc( DBG_ASSERT(!bExist, "Gruppe existiert bereits!"); if(!bExist) { - BOOL bCopyCompleted = SWUnoHelper::UCB_CopyFile( - sOldFileURL, sTempNewFilePath, TRUE ); + sal_Bool bCopyCompleted = SWUnoHelper::UCB_CopyFile( + sOldFileURL, sTempNewFilePath, sal_True ); if(bCopyCompleted) { bRet = sal_True; @@ -341,7 +341,7 @@ sal_Bool SwGlossaries::DelGroupDoc(const String &rName) // Auch, wenn das File nicht existiert, muss es aus der Liste // der Textbausteinbereiche entfernt werden // Kein && wegen CFfront - BOOL bRemoved = SWUnoHelper::UCB_DeleteFile( sFileURL ); + sal_Bool bRemoved = SWUnoHelper::UCB_DeleteFile( sFileURL ); DBG_ASSERT(bRemoved, "file has not been removed"); RemoveFileFromList( aName ); return bRemoved; @@ -389,7 +389,7 @@ SwTextBlocks* SwGlossaries::GetGlosDoc( const String &rName, sal_Bool bCreate ) sFileURL += INET_PATH_TOKEN; sFileURL += aTmp; - BOOL bExist = FALSE; + sal_Bool bExist = sal_False; if(!bCreate) bExist = FStatHelper::IsDocument( sFileURL ); @@ -427,7 +427,7 @@ SvStrings* SwGlossaries::GetNameList() SWUnoHelper::UCB_GetFileListOfFolder( *(*m_pPathArr)[i], aFiles, &sExt ); - for( USHORT nFiles = 0, nFEnd = aFiles.Count(); + for( sal_uInt16 nFiles = 0, nFEnd = aFiles.Count(); nFiles < nFEnd; ++nFiles ) { String* pTitle = aFiles[ nFiles ]; |