diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-07 10:56:27 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-07 10:57:55 +0900 |
commit | eb020150e174335a9956f5259ddced0026163373 (patch) | |
tree | 31bbc7980ae901f5a7fc763abaae32352f1a0c8f /sw/inc | |
parent | b31416123ba8c073b707cb500806f0efb5a018b0 (diff) |
sal_Bool to bool
Change-Id: Ia1001ff0f4778bdf5e22bf2800f533dfba80c048
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/calbck.hxx | 6 | ||||
-rw-r--r-- | sw/inc/docufld.hxx | 2 | ||||
-rw-r--r-- | sw/inc/fchrfmt.hxx | 2 | ||||
-rw-r--r-- | sw/inc/fmtfld.hxx | 2 | ||||
-rw-r--r-- | sw/inc/format.hxx | 2 | ||||
-rw-r--r-- | sw/inc/frmfmt.hxx | 2 | ||||
-rw-r--r-- | sw/inc/node.hxx | 2 | ||||
-rw-r--r-- | sw/inc/pagedesc.hxx | 2 | ||||
-rw-r--r-- | sw/inc/paratr.hxx | 2 | ||||
-rw-r--r-- | sw/inc/section.hxx | 2 | ||||
-rw-r--r-- | sw/inc/swtable.hxx | 2 | ||||
-rw-r--r-- | sw/inc/tox.hxx | 2 | ||||
-rw-r--r-- | sw/inc/txtatr.hxx | 2 | ||||
-rw-r--r-- | sw/inc/txtinet.hxx | 2 |
14 files changed, 16 insertions, 16 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index d360c510dbaf..75e3ead5b9f3 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -118,7 +118,7 @@ public: TYPEINFO(); // get information about attribute - virtual sal_Bool GetInfo( SfxPoolItem& ) const; + virtual bool GetInfo( SfxPoolItem& ) const; }; inline SwClient::SwClient() : @@ -165,7 +165,7 @@ public: const SwClient* GetDepends() const { return pRoot; } // get information about attribute - virtual sal_Bool GetInfo( SfxPoolItem& ) const; + virtual bool GetInfo( SfxPoolItem& ) const; void LockModify() { bModifyLocked = sal_True; } void UnlockModify() { bModifyLocked = sal_False; } @@ -199,7 +199,7 @@ public: SwClient* GetToTell() { return pToTell; } /** get Client information */ - virtual sal_Bool GetInfo( SfxPoolItem & ) const; + virtual bool GetInfo( SfxPoolItem & ) const; protected: virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNewValue ); virtual void SwClientNotify( const SwModify& rModify, const SfxHint& rHint ); diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index 0f6158bb19a3..23233cde48c5 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -152,7 +152,7 @@ class SwPageNumberFieldType : public SwFieldType { sal_Int16 nNumberingType; sal_uInt16 nNum, nMax; - sal_Bool bVirtuell; + bool bVirtuell; public: SwPageNumberFieldType(); diff --git a/sw/inc/fchrfmt.hxx b/sw/inc/fchrfmt.hxx index 0a911f054bb5..7253ec56aa8b 100644 --- a/sw/inc/fchrfmt.hxx +++ b/sw/inc/fchrfmt.hxx @@ -76,7 +76,7 @@ public: virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); - virtual sal_Bool GetInfo( SfxPoolItem& rInfo ) const; + virtual bool GetInfo( SfxPoolItem& rInfo ) const; void SetCharFmt( SwFmt* pFmt ) { pFmt->Add(this); } SwCharFmt* GetCharFmt() const { return (SwCharFmt*)GetRegisteredIn(); } diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx index 5cc7ddb6df7c..850de3fe1e3b 100644 --- a/sw/inc/fmtfld.hxx +++ b/sw/inc/fmtfld.hxx @@ -75,7 +75,7 @@ public: virtual int operator==( const SfxPoolItem& ) const; virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; - virtual sal_Bool GetInfo( SfxPoolItem& rInfo ) const; + virtual bool GetInfo( SfxPoolItem& rInfo ) const; const SwField *GetFld() const { return pField; } SwField *GetFld() { return pField; } diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx index 593cb55b38ab..8b8b61b8cab4 100644 --- a/sw/inc/format.hxx +++ b/sw/inc/format.hxx @@ -81,7 +81,7 @@ public: /// Query format information. - virtual sal_Bool GetInfo( SfxPoolItem& ) const; + virtual bool GetInfo( SfxPoolItem& ) const; /// Copy attributes even among documents. void CopyAttrs( const SwFmt&, sal_Bool bReplace=sal_True ); diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index 0a139fc0f10a..cd544d9bea0c 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -183,7 +183,7 @@ public: virtual Graphic MakeGraphic( ImageMap* pMap = NULL ); - virtual sal_Bool GetInfo( SfxPoolItem& rInfo ) const; + virtual bool GetInfo( SfxPoolItem& rInfo ) const; const String GetObjTitle() const; void SetObjTitle( const String& rTitle, diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx index 35ba3f226ef2..f12e760a8b06 100644 --- a/sw/inc/node.hxx +++ b/sw/inc/node.hxx @@ -440,7 +440,7 @@ public: virtual SwCntntNode* MakeCopy( SwDoc*, const SwNodeIndex& ) const = 0; /// Get information from Client. - virtual sal_Bool GetInfo( SfxPoolItem& ) const; + virtual bool GetInfo( SfxPoolItem& ) const; /// SS for PoolItems: hard attributation. diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx index a7f8f3b92aba..1de256149b86 100644 --- a/sw/inc/pagedesc.hxx +++ b/sw/inc/pagedesc.hxx @@ -238,7 +238,7 @@ public: void SetPoolHlpFileId( sal_uInt8 nId ) { aMaster.SetPoolHlpFileId( nId ); } /// Query information from Client. - virtual sal_Bool GetInfo( SfxPoolItem& ) const; + virtual bool GetInfo( SfxPoolItem& ) const; const SwFrmFmt* GetPageFmtOfNode( const SwNode& rNd, sal_Bool bCheckForThisPgDc = sal_True ) const; diff --git a/sw/inc/paratr.hxx b/sw/inc/paratr.hxx index f03b39bc6da1..2035d897b6de 100644 --- a/sw/inc/paratr.hxx +++ b/sw/inc/paratr.hxx @@ -99,7 +99,7 @@ public: inline SwCharFmt *GetCharFmt() { return (SwCharFmt*)GetRegisteredIn(); } void SetCharFmt( SwCharFmt *pNew ); /// Get information from Client. - virtual sal_Bool GetInfo( SfxPoolItem& ) const; + virtual bool GetInfo( SfxPoolItem& ) const; /// Get and set Modify pointer. inline const SwModify* GetDefinedIn() const { return pDefinedIn; } diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx index e095d6f8bcc0..252d00c396ae 100644 --- a/sw/inc/section.hxx +++ b/sw/inc/section.hxx @@ -323,7 +323,7 @@ public: virtual void MakeFrms(); // Get information from Format. - virtual sal_Bool GetInfo( SfxPoolItem& ) const; + virtual bool GetInfo( SfxPoolItem& ) const; SwSection* GetSection() const; inline SwSectionFmt* GetParent() const; diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx index d6192c38e75f..c1f81a6d4838 100644 --- a/sw/inc/swtable.hxx +++ b/sw/inc/swtable.hxx @@ -313,7 +313,7 @@ public: SwSelBoxes& rBoxes, sal_Bool bToTop = sal_True ) const; // Get information from client. - virtual sal_Bool GetInfo( SfxPoolItem& ) const; + virtual bool GetInfo( SfxPoolItem& ) const; // Search in format for registered table. static SwTable * FindTable( SwFrmFmt const*const pFmt ); diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index c6a33c3146cb..c7e3cc4970b5 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -489,7 +489,7 @@ public: SwTOXBase( const SwTOXBase& rCopy, SwDoc* pDoc = 0 ); virtual ~SwTOXBase(); - virtual sal_Bool GetInfo( SfxPoolItem& rInfo ) const; + virtual bool GetInfo( SfxPoolItem& rInfo ) const; // a kind of CopyCtor - check if the TOXBase is at TOXType of the doc. // If not, so create it an copy all other used things. The return is this diff --git a/sw/inc/txtatr.hxx b/sw/inc/txtatr.hxx index f15e4e75c0f0..b8a34f9ceb8d 100644 --- a/sw/inc/txtatr.hxx +++ b/sw/inc/txtatr.hxx @@ -105,7 +105,7 @@ public: virtual ~SwTxtRuby(); TYPEINFO(); - virtual sal_Bool GetInfo( SfxPoolItem& rInfo ) const; + virtual bool GetInfo( SfxPoolItem& rInfo ) const; SW_DLLPRIVATE void InitRuby(SwTxtNode & rNode); diff --git a/sw/inc/txtinet.hxx b/sw/inc/txtinet.hxx index f6e35addb183..6008496628b0 100644 --- a/sw/inc/txtinet.hxx +++ b/sw/inc/txtinet.hxx @@ -51,7 +51,7 @@ public: virtual ~SwTxtINetFmt(); TYPEINFO(); - virtual sal_Bool GetInfo( SfxPoolItem& rInfo ) const; + virtual bool GetInfo( SfxPoolItem& rInfo ) const; SW_DLLPRIVATE void InitINetFmt(SwTxtNode & rNode); |