summaryrefslogtreecommitdiff
path: root/sw/source/core/frmedt/fefly1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/frmedt/fefly1.cxx')
-rw-r--r--sw/source/core/frmedt/fefly1.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx
index a6e73a1518de..c57ddf0348a2 100644
--- a/sw/source/core/frmedt/fefly1.cxx
+++ b/sw/source/core/frmedt/fefly1.cxx
@@ -752,7 +752,7 @@ const SwFrmFmt *SwFEShell::NewFlyFrm( const SfxItemSet& rSet, sal_Bool bAnchVali
/* If called from a shell try to propagate an
existing adjust item from rPos to the content node of the
new frame. */
- pRet = GetDoc()->MakeFlySection( eRndId, &rPos, &rSet, pParent, sal_True );
+ pRet = GetDoc()->MakeFlySection( eRndId, &rPos, &rSet, pParent, true );
if( pRet )
{
@@ -1071,10 +1071,10 @@ sal_Bool SwFEShell::GetFlyFrmAttr( SfxItemSet &rSet ) const
#* Description : Attributes of the current fly will change.
#***********************************************************************/
-sal_Bool SwFEShell::SetFlyFrmAttr( SfxItemSet& rSet )
+bool SwFEShell::SetFlyFrmAttr( SfxItemSet& rSet )
{
SET_CURR_SHELL( this );
- sal_Bool bRet = sal_False;
+ bool bRet = false;
if( rSet.Count() )
{
@@ -1096,7 +1096,7 @@ sal_Bool SwFEShell::SetFlyFrmAttr( SfxItemSet& rSet )
if( GetDoc()->SetFlyFrmAttr( *pFlyFmt, rSet ))
{
- bRet = sal_True;
+ bRet = true;
SwFlyFrm* pFrm = pFlyFmt->GetFrm( &aPt );
if( pFrm )
SelectFlyFrm( *pFrm, sal_True );
@@ -1222,7 +1222,7 @@ SwFrmFmt* SwFEShell::GetCurFrmFmt() const
* Description :
******************************************************************************/
-void SwFEShell::SetFrmFmt( SwFrmFmt *pNewFmt, sal_Bool bKeepOrient, Point* pDocPos )
+void SwFEShell::SetFrmFmt( SwFrmFmt *pNewFmt, bool bKeepOrient, Point* pDocPos )
{
SwFlyFrm *pFly = 0;
if(pDocPos)