[ooo-build-commit] .: sw/inc sw/source

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Thu Sep 30 01:11:58 PDT 2010


 sw/inc/acmplwrd.hxx         |    6 +++---
 sw/source/ui/app/docsh2.cxx |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit c88523c9b2171c0b70a51142d8dbd456b8c36f4c
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Thu Sep 30 10:06:39 2010 +0200

    Convert BOOL to bool in SwAutoCompleteWord

diff --git a/sw/inc/acmplwrd.hxx b/sw/inc/acmplwrd.hxx
index 94ab1f8..2d729c4 100644
--- a/sw/inc/acmplwrd.hxx
+++ b/sw/inc/acmplwrd.hxx
@@ -44,7 +44,7 @@ class SwAutoCompleteWord
 
     SwAutoCompleteWord_Impl* pImpl;
     USHORT nMaxCount, nMinWrdLen;
-    BOOL bLockWordLst;
+    bool bLockWordLst;
 
     void DocumentDying(const SwDoc& rDoc);
 public:
@@ -57,8 +57,8 @@ public:
 
     const String& operator[]( USHORT n ) const { return *aWordLst[ n ]; }
 
-    BOOL IsLockWordLstLocked() const 		{ return bLockWordLst; }
-    void SetLockWordLstLocked( BOOL bFlag ) { bLockWordLst = bFlag; }
+    bool IsLockWordLstLocked() const           { return bLockWordLst; }
+    void SetLockWordLstLocked( bool bFlag ) { bLockWordLst = bFlag; }
 
     void SetMaxCount( USHORT n );
 
diff --git a/sw/source/ui/app/docsh2.cxx b/sw/source/ui/app/docsh2.cxx
index b0ae693..30fa699 100644
--- a/sw/source/ui/app/docsh2.cxx
+++ b/sw/source/ui/app/docsh2.cxx
@@ -639,10 +639,10 @@ void SwDocShell::Execute(SfxRequest& rReq)
             SvxSwAutoFmtFlags* pAFlags = &SvxAutoCorrCfg::Get()->GetAutoCorrect()->GetSwFlags();
             SwAutoCompleteWord& rACW = SwDoc::GetAutoCompleteWords();
 
-            BOOL bOldLocked = rACW.IsLockWordLstLocked(),
+            bool bOldLocked = rACW.IsLockWordLstLocked(),
                  bOldAutoCmpltCollectWords = pAFlags->bAutoCmpltCollectWords;
 
-            rACW.SetLockWordLstLocked( TRUE );
+            rACW.SetLockWordLstLocked( true );
 
             SvStringsISortDtor aTmpLst;
             aTmpLst.Insert( &rACW.GetWordList() );


More information about the ooo-build-commit mailing list