diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:59:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:21 +0100 |
commit | 8bc3751ea3ce1162137df2d0e10502cd24a3cb92 (patch) | |
tree | 6e0a16a99e7e9c20bfdb97510da35df9af5256fa /sw/source/core/draw | |
parent | 7dca2dd95b21df2b36c6a8e7e9edfb49dbd2acd1 (diff) |
bool improvements
Change-Id: Ibeb658e73b588f90242c95d23149f2ef45a7a815
Diffstat (limited to 'sw/source/core/draw')
-rw-r--r-- | sw/source/core/draw/dflyobj.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/draw/drawdoc.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/draw/dview.cxx | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx index f25c61e5d31c..a0d2c15057d7 100644 --- a/sw/source/core/draw/dflyobj.cxx +++ b/sw/source/core/draw/dflyobj.cxx @@ -487,13 +487,13 @@ void SwVirtFlyDrawObj::wrap_DoPaintObject() const void SwVirtFlyDrawObj::TakeObjInfo( SdrObjTransformInfoRec& rInfo ) const { rInfo.bSelectAllowed = rInfo.bMoveAllowed = - rInfo.bResizeFreeAllowed = rInfo.bResizePropAllowed = sal_True; + rInfo.bResizeFreeAllowed = rInfo.bResizePropAllowed = true; rInfo.bRotateFreeAllowed = rInfo.bRotate90Allowed = rInfo.bMirrorFreeAllowed = rInfo.bMirror45Allowed = rInfo.bMirror90Allowed = rInfo.bShearAllowed = rInfo.bCanConvToPath = rInfo.bCanConvToPoly = - rInfo.bCanConvToPathLineToArea = rInfo.bCanConvToPolyLineToArea = sal_False; + rInfo.bCanConvToPathLineToArea = rInfo.bCanConvToPolyLineToArea = false; } // SwVirtFlyDrawObj - Size Determination diff --git a/sw/source/core/draw/drawdoc.cxx b/sw/source/core/draw/drawdoc.cxx index 695805d66694..7cf986c17a17 100644 --- a/sw/source/core/draw/drawdoc.cxx +++ b/sw/source/core/draw/drawdoc.cxx @@ -49,11 +49,11 @@ const OUString GetPalettePath() SwDrawDocument::SwDrawDocument( SwDoc* pD ) : FmFormModel( ::GetPalettePath(), &pD->GetAttrPool(), - pD->GetDocShell(), sal_True ), + pD->GetDocShell(), true ), pDoc( pD ) { SetScaleUnit( MAP_TWIP ); - SetSwapGraphics( sal_True ); + SetSwapGraphics( true ); SwDocShell* pDocSh = pDoc->GetDocShell(); if ( pDocSh ) diff --git a/sw/source/core/draw/dview.cxx b/sw/source/core/draw/dview.cxx index 99fc36cf5dca..6233863b0666 100644 --- a/sw/source/core/draw/dview.cxx +++ b/sw/source/core/draw/dview.cxx @@ -96,11 +96,11 @@ SwDrawView::SwDrawView( SwViewImp &rI, SdrModel *pMd, OutputDevice *pOutDev) : FmFormView( (FmFormModel*)pMd, pOutDev ), rImp( rI ) { - SetPageVisible( sal_False ); - SetBordVisible( sal_False ); - SetGridVisible( sal_False ); - SetHlplVisible( sal_False ); - SetGlueVisible( sal_False ); + SetPageVisible( false ); + SetBordVisible( false ); + SetGridVisible( false ); + SetHlplVisible( false ); + SetGlueVisible( false ); SetFrameDragSingles( sal_True ); SetVirtualObjectBundling( sal_True ); SetSwapAsynchron( sal_True ); |