sw/inc/doc.hxx                       |    4 +-
 sw/inc/editsh.hxx                    |    2 -
 sw/inc/sortopt.hxx                   |    6 ++--
 sw/source/core/doc/poolfmt.cxx       |   12 ++++----
 sw/source/core/doc/sortopt.cxx       |    6 ++--
 sw/source/core/edit/edfmt.cxx        |    2 -
 sw/source/core/unocore/unoobj.cxx    |    8 ++---
 sw/source/filter/html/htmlnum.cxx    |    4 +-
 sw/source/filter/html/htmltab.cxx    |    2 -
 sw/source/filter/html/svxcss1.cxx    |    4 +-
 sw/source/filter/html/svxcss1.hxx    |    8 ++---
 sw/source/filter/inc/wrtswtbl.hxx    |    2 -
 sw/source/filter/writer/wrtswtbl.cxx |    2 -
 sw/source/filter/ww1/w1class.hxx     |    4 +-
 sw/source/filter/xml/xmltbli.cxx     |    2 -
 sw/source/ui/app/docstyle.cxx        |   10 +++----
 sw/source/ui/config/cfgitems.cxx     |    2 -
 sw/source/ui/dbui/dbtree.cxx         |    2 -
 sw/source/ui/fldui/fldvar.cxx        |   20 +++++++-------
 sw/source/ui/inc/cfgitems.hxx        |   48 +++++++++++++++++------------------
 20 files changed, 75 insertions(+), 75 deletions(-)

New commits:
commit 5bac137d48c2436316043ca2be558b9eb00fe87d
Author: Takeshi Abe <t...@fixedpoint.jp>
Date:   Thu Nov 15 00:01:03 2012 +0900

    sal_Bool to bool
    
    Change-Id: I95a8effcc90a9651e30dc43f8db6edeaa7ace5ef

diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index ca5efc9..28f06ff 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -1303,8 +1303,8 @@ public:
     void ReplaceCompatabilityOptions(const SwDoc& rSource);
 
     /// Query if style (paragraph- / character- / frame- / page-) is used.
-    sal_Bool IsUsed( const SwModify& ) const;
-    sal_Bool IsUsed( const SwNumRule& ) const;
+    bool IsUsed( const SwModify& ) const;
+    bool IsUsed( const SwNumRule& ) const;
 
     /// Set name of newly loaded document template.
     sal_uInt16 SetDocPattern( const String& rPatternName );
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index a0c0ebb..d1a0fe9 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -363,7 +363,7 @@ public:
     SwPageDesc* GetPageDescFromPool( sal_uInt16 nId );
 
     /// Query if the paragraph-/character-/frame-/page-style is used.
-    sal_Bool IsUsed( const SwModify& ) const;
+    bool IsUsed( const SwModify& ) const;
 
     /// @return required automatic format.
     SwFrmFmt* GetFrmFmtFromPool( sal_uInt16 nId )
diff --git a/sw/inc/sortopt.hxx b/sw/inc/sortopt.hxx
index 2fa4623..a0da917 100644
--- a/sw/inc/sortopt.hxx
+++ b/sw/inc/sortopt.hxx
@@ -45,7 +45,7 @@ struct SW_DLLPUBLIC SwSortKey
     String          sSortType;
     SwSortOrder     eSortOrder;
     sal_uInt16          nColumnId;
-    sal_Bool            bIsNumeric;
+    bool            bIsNumeric;
 };
 
 typedef std::vector<SwSortKey*> SwSortKeys;
@@ -60,8 +60,8 @@ struct SW_DLLPUBLIC SwSortOptions
     SwSortDirection eDirection;
     sal_Unicode     cDeli;
     sal_uInt16          nLanguage;
-    sal_Bool            bTable;
-    sal_Bool            bIgnoreCase;
+    bool            bTable;
+    bool            bIgnoreCase;
 };
 
 #endif  // _SORTOPT_HXX
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index 03ea2f8..0a1a508 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -1149,7 +1149,7 @@ SwFmt* SwDoc::GetFmtFromPool( sal_uInt16 nId )
     SwAttrSet aSet( GetAttrPool(), pWhichRange );
 
     {
-        sal_Bool bIsModified = IsModified();
+        bool bIsModified = IsModified();
 
         {
             ::sw::UndoGuard const undoGuard(GetIDocumentUndoRedo());
@@ -1455,7 +1455,7 @@ SwPageDesc* SwDoc::GetPageDescFromPool( sal_uInt16 nId, 
bool bRegardLanguage )
     ResId aResId( sal_uInt32(RC_POOLPAGEDESC_BEGIN + nId - 
RES_POOLPAGE_BEGIN), *pSwResMgr );
     String aNm( aResId );
     {
-        sal_Bool bIsModified = IsModified();
+        bool bIsModified = IsModified();
 
         {
             ::sw::UndoGuard const undoGuard(GetIDocumentUndoRedo());
@@ -1640,7 +1640,7 @@ SwNumRule* SwDoc::GetNumRuleFromPool( sal_uInt16 nId )
     const SvxNumberFormat::SvxNumPositionAndSpaceMode 
eNumberFormatPositionAndSpaceMode
                                   = numfunc::GetDefaultPositionAndSpaceMode(); 
//#i89178#
     {
-        sal_Bool bIsModified = IsModified();
+        bool bIsModified = IsModified();
 
         n = MakeNumRule( aNm, 0, false, eNumberFormatPositionAndSpaceMode );
 
@@ -2295,7 +2295,7 @@ bool SwDoc::IsPoolPageDescUsed( sal_uInt16 nId ) const
 }
 
 // See if the Paragraph/Character/Frame/Page style is in use
-sal_Bool SwDoc::IsUsed( const SwModify& rModify ) const
+bool SwDoc::IsUsed( const SwModify& rModify ) const
 {
     // Check if we have dependent ContentNodes in the Nodes array
     // (also indirect ones for derived Formats)
@@ -2304,9 +2304,9 @@ sal_Bool SwDoc::IsUsed( const SwModify& rModify ) const
 }
 
 // See if the NumRule is used
-sal_Bool SwDoc::IsUsed( const SwNumRule& rRule ) const
+bool SwDoc::IsUsed( const SwNumRule& rRule ) const
 {
-    sal_Bool bUsed = rRule.GetTxtNodeListSize() > 0 ||
+    bool bUsed = rRule.GetTxtNodeListSize() > 0 ||
                      rRule.GetParagraphStyleListSize() > 0;
 
     return bUsed;
diff --git a/sw/source/core/doc/sortopt.cxx b/sw/source/core/doc/sortopt.cxx
index d215772..e0afa81 100644
--- a/sw/source/core/doc/sortopt.cxx
+++ b/sw/source/core/doc/sortopt.cxx
@@ -37,7 +37,7 @@
 SwSortKey::SwSortKey() :
     eSortOrder( SRT_ASCENDING ),
     nColumnId( 0 ),
-    bIsNumeric( sal_True )
+    bIsNumeric( true )
 {
 }
 
@@ -64,8 +64,8 @@ SwSortOptions::SwSortOptions()
     : eDirection( SRT_ROWS ),
     cDeli( 9 ),
     nLanguage( LANGUAGE_SYSTEM ),
-    bTable( sal_False ),
-    bIgnoreCase( sal_False )
+    bTable( false ),
+    bIgnoreCase( false )
 {
 }
 
diff --git a/sw/source/core/edit/edfmt.cxx b/sw/source/core/edit/edfmt.cxx
index e47e68f..8e73a22 100644
--- a/sw/source/core/edit/edfmt.cxx
+++ b/sw/source/core/edit/edfmt.cxx
@@ -171,7 +171,7 @@ SwPageDesc* SwEditShell::GetPageDescFromPool( sal_uInt16 
nId )
 }
 
 
-sal_Bool SwEditShell::IsUsed( const SwModify& rModify ) const
+bool SwEditShell::IsUsed( const SwModify& rModify ) const
 {
     return pDoc->IsUsed( rModify );
 }
diff --git a/sw/source/core/unocore/unoobj.cxx 
b/sw/source/core/unocore/unoobj.cxx
index c3a74f2..5d8dc5d 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -2578,23 +2578,23 @@ sal_Bool SwUnoCursorHelper::ConvertSortProperties(
     sal_Bool bRet = sal_True;
     const beans::PropertyValue* pProperties = rDescriptor.getConstArray();
 
-    rSortOpt.bTable = sal_False;
+    rSortOpt.bTable = false;
     rSortOpt.cDeli = ' ';
     rSortOpt.eDirection = SRT_COLUMNS;  //!! UI text may be contrary though !!
 
     SwSortKey* pKey1 = new SwSortKey;
     pKey1->nColumnId = USHRT_MAX;
-    pKey1->bIsNumeric = sal_True;
+    pKey1->bIsNumeric = true;
     pKey1->eSortOrder = SRT_ASCENDING;
 
     SwSortKey* pKey2 = new SwSortKey;
     pKey2->nColumnId = USHRT_MAX;
-    pKey2->bIsNumeric = sal_True;
+    pKey2->bIsNumeric = true;
     pKey2->eSortOrder = SRT_ASCENDING;
 
     SwSortKey* pKey3 = new SwSortKey;
     pKey3->nColumnId = USHRT_MAX;
-    pKey3->bIsNumeric = sal_True;
+    pKey3->bIsNumeric = true;
     pKey3->eSortOrder = SRT_ASCENDING;
     SwSortKey* aKeys[3] = {pKey1, pKey2, pKey3};
 
diff --git a/sw/source/filter/html/htmlnum.cxx 
b/sw/source/filter/html/htmlnum.cxx
index c63aa25..2765966 100644
--- a/sw/source/filter/html/htmlnum.cxx
+++ b/sw/source/filter/html/htmlnum.cxx
@@ -666,7 +666,7 @@ void SwHTMLWriter::FillNextNumInfo()
 
     sal_uLong nPos = pCurPam->GetPoint()->nNode.GetIndex() + 1;
 
-    sal_Bool bTable = sal_False;
+    bool bTable = false;
     do
     {
         const SwNode* pNd = pDoc->GetNodes()[nPos];
@@ -692,7 +692,7 @@ void SwHTMLWriter::FillNextNumInfo()
             // Eine Tabelle wird uebersprungen, also den Node
             // hinter der Tabelle betrachten.
             nPos = pNd->EndOfSectionIndex() + 1;
-            bTable = sal_True;
+            bTable = true;
         }
         else
         {
diff --git a/sw/source/filter/html/htmltab.cxx 
b/sw/source/filter/html/htmltab.cxx
index fde8dbe..8d5172c 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -271,7 +271,7 @@ public:
     sal_Int16 GetVertOri() const { return eVertOri; }
 
     // Is the cell filled or protected ?
-    sal_Bool IsUsed() const { return pContents!=0 || bProtected; }
+    bool IsUsed() const { return pContents!=0 || bProtected; }
 
     SwHTMLTableLayoutCell *CreateLayoutInfo();
 
diff --git a/sw/source/filter/html/svxcss1.cxx 
b/sw/source/filter/html/svxcss1.cxx
index 214f39a..91fb3d8 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -581,9 +581,9 @@ void SvxCSS1PropertyInfo::CopyBorderInfo( sal_uInt16 
nCount, sal_uInt16 nWhat )
 void SvxCSS1PropertyInfo::SetBoxItem( SfxItemSet& rItemSet,
                                       sal_uInt16 nMinBorderDist,
                                       const SvxBoxItem *pDfltItem,
-                                      sal_Bool bTable )
+                                      bool bTable )
 {
-    sal_Bool bChg = nTopBorderDistance != USHRT_MAX ||
+    bool bChg = nTopBorderDistance != USHRT_MAX ||
                 nBottomBorderDistance != USHRT_MAX ||
                 nLeftBorderDistance != USHRT_MAX ||
                 nRightBorderDistance != USHRT_MAX;
diff --git a/sw/source/filter/html/svxcss1.hxx 
b/sw/source/filter/html/svxcss1.hxx
index d8049ae..d37663e 100644
--- a/sw/source/filter/html/svxcss1.hxx
+++ b/sw/source/filter/html/svxcss1.hxx
@@ -155,7 +155,7 @@ public:
     void CopyBorderInfo( sal_uInt16 nCount, sal_uInt16 nWhat );
 
     void SetBoxItem( SfxItemSet& rItemSet, sal_uInt16 nMinBorderDist,
-                     const SvxBoxItem* pDflt=0, sal_Bool bTable = sal_False );
+                     const SvxBoxItem* pDflt=0, bool bTable = false );
 
 };
 
@@ -340,9 +340,9 @@ public:
     virtual void SetDfltEncoding( rtl_TextEncoding eEnc );
     rtl_TextEncoding GetDfltEncoding() const { return eDfltEnc; }
 
-    sal_Bool IsSetWesternProps() const { return (nScriptFlags & 
CSS1_SCRIPT_WESTERN) != 0; }
-    sal_Bool IsSetCJKProps() const { return (nScriptFlags & CSS1_SCRIPT_CJK) 
!= 0; }
-    sal_Bool IsSetCTLProps() const { return (nScriptFlags & CSS1_SCRIPT_CTL) 
!= 0; }
+    bool IsSetWesternProps() const { return (nScriptFlags & 
CSS1_SCRIPT_WESTERN) != 0; }
+    bool IsSetCJKProps() const { return (nScriptFlags & CSS1_SCRIPT_CJK) != 0; 
}
+    bool IsSetCTLProps() const { return (nScriptFlags & CSS1_SCRIPT_CTL) != 0; 
}
 
     const String& GetBaseURL() const { return sBaseURL;}
 
diff --git a/sw/source/filter/inc/wrtswtbl.hxx 
b/sw/source/filter/inc/wrtswtbl.hxx
index 2d4b75b..83c11a3 100644
--- a/sw/source/filter/inc/wrtswtbl.hxx
+++ b/sw/source/filter/inc/wrtswtbl.hxx
@@ -287,7 +287,7 @@ protected:
                             sal_uInt16 nDepth,
                             sal_uInt16 nNumOfHeaderRows );
 
-    void MergeBorders( const editeng::SvxBorderLine* pBorderLine, sal_Bool 
bTable );
+    void MergeBorders( const editeng::SvxBorderLine* pBorderLine, bool bTable 
);
 
     sal_uInt16 MergeBoxBorders(const SwTableBox *pBox, size_t nRow, size_t 
nCol,
                             sal_uInt16 nRowSpan, sal_uInt16 nColSpan,
diff --git a/sw/source/filter/writer/wrtswtbl.cxx 
b/sw/source/filter/writer/wrtswtbl.cxx
index f9865f8..0f19600 100644
--- a/sw/source/filter/writer/wrtswtbl.cxx
+++ b/sw/source/filter/writer/wrtswtbl.cxx
@@ -209,7 +209,7 @@ const SvxBrushItem *SwWriteTable::GetLineBrush( const 
SwTableBox *pBox,
 
 
 void SwWriteTable::MergeBorders( const SvxBorderLine* pBorderLine,
-                                   sal_Bool bTable )
+                                   bool bTable )
 {
     if( (sal_uInt32)-1 == nBorderColor )
     {
diff --git a/sw/source/filter/ww1/w1class.hxx b/sw/source/filter/ww1/w1class.hxx
index f372d3f..746d00f 100644
--- a/sw/source/filter/ww1/w1class.hxx
+++ b/sw/source/filter/ww1/w1class.hxx
@@ -262,7 +262,7 @@ class Ww1Style
 public:
     Ww1Style();
     ~Ww1Style();
-    sal_Bool IsUsed() const                 { return bUsed; }
+    bool IsUsed() const                 { return bUsed; }
     void SetDefaults(sal_uInt8);
     void SetParent(Ww1StyleSheet* newParent)    { pParent = newParent; }
     void SetName(const String& rName)   { bUsed = sal_True; aName = rName; }
@@ -754,7 +754,7 @@ public:
     void Start(Ww1Shell&, Ww1Manager&);
     void Start(Ww1Shell&, Ww1Manager&, sal_uInt16);
     void Stop(Ww1Shell&, Ww1Manager&);
-    sal_Bool IsUsed() {
+    bool IsUsed() {
         return nCountBytes != 255; }
     sal_uInt16 Count() {
         return count; }
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 1134a13..5d76fa4 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -207,7 +207,7 @@ public:
                      sal_Bool mbTextValue = sal_False,
                      OUString const& i_rXmlId = OUString());
 
-    sal_Bool IsUsed() const { return pStartNode!=0 ||
+    bool IsUsed() const { return pStartNode!=0 ||
                                      xSubTable.Is() || bProtected;}
 
     sal_uInt32 GetRowSpan() const { return nRowSpan; }
diff --git a/sw/source/ui/app/docstyle.cxx b/sw/source/ui/app/docstyle.cxx
index e7a08e1..ca7e2ac 100644
--- a/sw/source/ui/app/docstyle.cxx
+++ b/sw/source/ui/app/docstyle.cxx
@@ -2428,7 +2428,7 @@ SfxStyleSheetBase*  SwStyleSheetIterator::First()
             if( pFmt->IsDefault() && pFmt != rDoc.GetDfltCharFmt() )
                 continue;
 
-            const sal_Bool  bUsed = bIsSearchUsed && (bOrganizer || 
rDoc.IsUsed(*pFmt));
+            const bool bUsed = bIsSearchUsed && (bOrganizer || 
rDoc.IsUsed(*pFmt));
             if( !bUsed )
             {
                 // Standard is no User template
@@ -2505,7 +2505,7 @@ SfxStyleSheetBase*  SwStyleSheetIterator::First()
             if(pColl->IsDefault())
                 continue;
 
-            const sal_Bool bUsed = bOrganizer || rDoc.IsUsed(*pColl);
+            const bool bUsed = bOrganizer || rDoc.IsUsed(*pColl);
             if( !(bIsSearchUsed && bUsed ))
             {
                 const sal_uInt16 nId = pColl->GetPoolFmtId();
@@ -2651,7 +2651,7 @@ SfxStyleSheetBase*  SwStyleSheetIterator::First()
             }
 
             const sal_uInt16 nId = pFmt->GetPoolFmtId();
-            sal_Bool bUsed = bIsSearchUsed && ( bOrganizer || 
rDoc.IsUsed(*pFmt));
+            bool bUsed = bIsSearchUsed && ( bOrganizer || rDoc.IsUsed(*pFmt));
             if( !bUsed )
             {
                 if( (nSrchMask & ~SFXSTYLEBIT_USED) == SFXSTYLEBIT_USERDEF
@@ -2681,7 +2681,7 @@ SfxStyleSheetBase*  SwStyleSheetIterator::First()
         {
             const SwPageDesc& rDesc = rDoc.GetPageDesc(i);
             const sal_uInt16 nId = rDesc.GetPoolFmtId();
-            sal_Bool bUsed = bIsSearchUsed && ( bOrganizer || 
rDoc.IsUsed(rDesc));
+            bool bUsed = bIsSearchUsed && ( bOrganizer || rDoc.IsUsed(rDesc));
             if( !bUsed )
             {
                 if( (nSrchMask & ~SFXSTYLEBIT_USED) == SFXSTYLEBIT_USERDEF
@@ -2707,7 +2707,7 @@ SfxStyleSheetBase*  SwStyleSheetIterator::First()
             const SwNumRule& rRule = *rNumTbl[ i ];
             if( !rRule.IsAutoRule() )
             {
-                sal_Bool bUsed = bIsSearchUsed && ( bOrganizer || 
rDoc.IsUsed(rRule) );
+                bool bUsed = bIsSearchUsed && ( bOrganizer || 
rDoc.IsUsed(rRule) );
                 if( !bUsed )
                 {
                     if( (nSrchMask & ~SFXSTYLEBIT_USED) == SFXSTYLEBIT_USERDEF
diff --git a/sw/source/ui/config/cfgitems.cxx b/sw/source/ui/config/cfgitems.cxx
index d8d829a..a9a6f68 100644
--- a/sw/source/ui/config/cfgitems.cxx
+++ b/sw/source/ui/config/cfgitems.cxx
@@ -146,7 +146,7 @@ SwElemItem::SwElemItem( sal_uInt16 _nWhich ) :
     bGraphic            =
     bDrawing            =
     bFieldName          =
-    bNotes              = sal_False;
+    bNotes              = false;
 }
 
 SwElemItem::SwElemItem( const SwElemItem& rElemItem ):
diff --git a/sw/source/ui/dbui/dbtree.cxx b/sw/source/ui/dbui/dbtree.cxx
index f0ddabf..760db5b 100644
--- a/sw/source/ui/dbui/dbtree.cxx
+++ b/sw/source/ui/dbui/dbtree.cxx
@@ -289,7 +289,7 @@ void  SwDBTreeList::RequestingChildren(SvTreeListEntry* 
pParent)
                 if(!pImpl->GetContext()->hasByName(sSourceName))
                     return;
                 Reference<XConnection> xConnection = 
pImpl->GetConnection(sSourceName);
-                sal_Bool bTable = pParent->GetUserData() == 0;
+                bool bTable = pParent->GetUserData() == 0;
                 Reference<XColumnsSupplier> xColsSupplier;
                 if(bTable)
                 {
diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx
index c7e20d6..6fd6c2f 100644
--- a/sw/source/ui/fldui/fldvar.cxx
+++ b/sw/source/ui/fldui/fldvar.cxx
@@ -824,7 +824,7 @@ IMPL_LINK_NOARG(SwFldVarPage, ModifyHdl)
     String sValue(aValueED.GetText());
     sal_Bool bHasValue = sValue.Len() != 0;
     sal_uInt16 nTypeId = 
(sal_uInt16)(sal_uLong)aTypeLB.GetEntryData(GetTypeSel());
-    sal_Bool bInsert = sal_False, bApply = sal_False, bDelete = sal_False;
+    bool bInsert = false, bApply = false, bDelete = false;
 
     String sName( aNameED.GetText() );
     xub_StrLen nLen = sName.Len();
@@ -854,7 +854,7 @@ IMPL_LINK_NOARG(SwFldVarPage, ModifyHdl)
         if( nLen )
         {
             // is there already a corrensponding type
-            bInsert = bApply = sal_True;
+            bInsert = bApply = true;
 
             SwFieldType* pType = GetFldMgr().GetFldType(RES_DDEFLD, sName);
 
@@ -883,13 +883,13 @@ IMPL_LINK_NOARG(SwFldVarPage, ModifyHdl)
             {
                 // user fields can also be inserted without content!
                 // Bug #56845
-                bInsert = bApply = sal_True;
+                bInsert = bApply = true;
             }
         }
         break;
 
     default:
-        bInsert = sal_True;
+        bInsert = true;
 
         if (nTypeId == TYP_SETFLD || nTypeId == TYP_SEQFLD)
         {
@@ -915,26 +915,26 @@ IMPL_LINK_NOARG(SwFldVarPage, ModifyHdl)
                     }
 
                     if (i >= INIT_FLDTYPES && !pSh->IsUsed(*pFldType))
-                        bDelete = sal_True;
+                        bDelete = true;
 
                     if (nTypeId == TYP_SEQFLD && !(pFldType->GetType() & 
nsSwGetSetExpType::GSE_SEQ))
-                        bInsert = sal_False;
+                        bInsert = false;
 
                     if (nTypeId == TYP_SETFLD && (pFldType->GetType() & 
nsSwGetSetExpType::GSE_SEQ))
-                        bInsert = sal_False;
+                        bInsert = false;
                 }
             }
             if (GetFldMgr().GetFldType(RES_USERFLD, sName))
-                bInsert = sal_False;
+                bInsert = false;
         }
 
         if( !nLen && ( nTypeId == TYP_SETFLD ||
                         (!IsFldEdit() && nTypeId == TYP_GETFLD ) ) )
-            bInsert = sal_False;
+            bInsert = false;
 
         if( (nTypeId == TYP_SETFLD || nTypeId == TYP_FORMELFLD) &&
             !bHasValue )
-            bInsert = sal_False;
+            bInsert = false;
         break;
     }
 
diff --git a/sw/source/ui/inc/cfgitems.hxx b/sw/source/ui/inc/cfgitems.hxx
index feebfc0..8168964 100644
--- a/sw/source/ui/inc/cfgitems.hxx
+++ b/sw/source/ui/inc/cfgitems.hxx
@@ -91,22 +91,22 @@ Item for settings dialog, element page
 class SW_DLLPUBLIC SwElemItem : public SfxPoolItem
 {
     //view
-    sal_Bool bHorzScrollbar :1;
-    sal_Bool bVertScrollbar :1;
-    sal_Bool bAnyRuler : 1;
-    sal_Bool bHorzRuler     :1;
-    sal_Bool bVertRuler     :1;
-    sal_Bool bVertRulerRight:1;
-    sal_Bool bSmoothScroll  :1;
+    bool bHorzScrollbar :1;
+    bool bVertScrollbar :1;
+    bool bAnyRuler : 1;
+    bool bHorzRuler     :1;
+    bool bVertRuler     :1;
+    bool bVertRulerRight:1;
+    bool bSmoothScroll  :1;
     //visual aids
-    sal_Bool bCrosshair     :1;
-    sal_Bool bHandles       :1;
+    bool bCrosshair     :1;
+    bool bHandles       :1;
     //display
-    sal_Bool bTable             :1;
-    sal_Bool bGraphic           :1;
-    sal_Bool bDrawing           :1;
-    sal_Bool bFieldName         :1;
-    sal_Bool bNotes             :1;
+    bool bTable             :1;
+    bool bGraphic           :1;
+    bool bDrawing           :1;
+    bool bFieldName         :1;
+    bool bNotes             :1;
 
     friend class SwContentOptPage;
 
@@ -209,16 +209,16 @@ class SW_DLLPUBLIC SwTestItem : public SfxPoolItem
     friend class SwModule;
     friend class SwTestTabPage;
 
-    sal_Bool    bTest1:1;
-    sal_Bool    bTest2:1;
-    sal_Bool    bTest3:1;
-    sal_Bool    bTest4:1;
-    sal_Bool    bTest5:1;
-    sal_Bool    bTest6:1;
-    sal_Bool    bTest7:1;
-    sal_Bool    bTest8:1;
-    sal_Bool    bTest9:1;
-    sal_Bool    bTest10:1;
+    bool    bTest1:1;
+    bool    bTest2:1;
+    bool    bTest3:1;
+    bool    bTest4:1;
+    bool    bTest5:1;
+    bool    bTest6:1;
+    bool    bTest7:1;
+    bool    bTest8:1;
+    bool    bTest9:1;
+    bool    bTest10:1;
 
 public:
                             SwTestItem( sal_uInt16 _nWhich):
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to