summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/doc.hxx10
-rw-r--r--sw/inc/fesh.hxx4
2 files changed, 7 insertions, 7 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 740659ad3fdd..88f13a827cad 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -635,7 +635,7 @@ private:
const xub_StrLen nEndContentIndex,
const SwNodeIndex& rStartIdx,
const bool bCopyFlyAtFly = false ) const;
- sal_Int8 SetFlyFrmAnchor( SwFrmFmt& rFlyFmt, SfxItemSet& rSet, sal_Bool bNewFrms );
+ sal_Int8 SetFlyFrmAnchor( SwFrmFmt& rFlyFmt, SfxItemSet& rSet, bool bNewFrms );
typedef SwFmt* (SwDoc:: *FNCopyFmt)( const String&, SwFmt*, sal_Bool, sal_Bool );
SwFmt* CopyFmt( const SwFmt& rFmt, const SwFmtsBase& rFmtArr,
@@ -665,7 +665,7 @@ private:
void AddUsedDBToList( std::vector<String>& rDBNameList,
const std::vector<String>& rUsedDBNames );
void AddUsedDBToList( std::vector<String>& rDBNameList, const String& rDBName );
- sal_Bool IsNameInArray( const std::vector<String>& rOldNames, const String& rName );
+ bool IsNameInArray( const std::vector<String>& rOldNames, const String& rName );
void GetAllDBNames( std::vector<String>& rAllDBNames );
void ReplaceUsedDBs( const std::vector<String>& rUsedDBNames,
const String& rNewName, String& rFormel );
@@ -1082,10 +1082,10 @@ public:
sal_Bool bDelRedlines = sal_True,
sal_Bool bCopyFlyAtFly = sal_False ) const;
- sal_Bool SetFlyFrmAttr( SwFrmFmt& rFlyFmt, SfxItemSet& rSet );
+ bool SetFlyFrmAttr( SwFrmFmt& rFlyFmt, SfxItemSet& rSet );
- sal_Bool SetFrmFmtToFly( SwFrmFmt& rFlyFmt, SwFrmFmt& rNewFmt,
- SfxItemSet* pSet = 0, sal_Bool bKeepOrient = sal_False );
+ bool SetFrmFmtToFly( SwFrmFmt& rFlyFmt, SwFrmFmt& rNewFmt,
+ SfxItemSet* pSet = 0, bool bKeepOrient = false );
void SetFlyFrmTitle( SwFlyFrmFmt& rFlyFrmFmt,
const String& sNewTitle );
void SetFlyFrmDescription( SwFlyFrmFmt& rFlyFrmFmt,
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 17f465598428..81ebaae7c193 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -355,7 +355,7 @@ public:
sal_Bool IsFrmSelected() const;
sal_Bool GetFlyFrmAttr( SfxItemSet &rSet ) const;
- sal_Bool SetFlyFrmAttr( SfxItemSet &rSet );
+ bool SetFlyFrmAttr( SfxItemSet &rSet );
sal_Bool ResetFlyFrmAttr( sal_uInt16 nWhich, const SfxItemSet* pSet = 0 );
const SwFrmFmt *NewFlyFrm( const SfxItemSet &rSet, sal_Bool bAnchValid = sal_False,
SwFrmFmt *pParent = 0 );
@@ -368,7 +368,7 @@ public:
sal_Bool IsFrmVertical(const sal_Bool bEnvironment, sal_Bool& bRightToLeft, sal_Bool& bVertL2R) const;
SwFrmFmt* GetCurFrmFmt() const; ///< If frame then frame style, else 0.
- void SetFrmFmt( SwFrmFmt *pFmt, sal_Bool bKeepOrient = sal_False, Point* pDocPos = 0 ); ///< If frame then set frame style.
+ void SetFrmFmt( SwFrmFmt *pFmt, bool bKeepOrient = false, Point* pDocPos = 0 ); ///< If frame then set frame style.
const SwFlyFrm *GetCurrFlyFrm() const { return FindFlyFrm(); }
/// Find/delete fly containing the cursor.