diff options
author | Noel Grandin <noel@peralex.com> | 2014-01-16 14:50:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-01-17 09:16:50 +0200 |
commit | 94e75e3c976653204a44a2eb5aff71caf816bdf4 (patch) | |
tree | 84713d79da6d0f1ecabd6bd21d88ba342152cb62 /sc/source/ui/view | |
parent | 8843078a1a9a3126d6d90cde5b98b171963446c8 (diff) |
sal_Bool->bool
Change-Id: I027b7bd5d1708676521faf7f03f553d2c083f04e
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index 36110fe25d0d..601868432158 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -413,7 +413,7 @@ void ScTabViewShell::SetZoomFactor( const Fraction &rZoomX, const Fraction &rZoo aNewY = aFrac400; GetViewData()->UpdateScreenZoom( aNewX, aNewY ); - SetZoom( aNewX, aNewY, sal_True ); + SetZoom( aNewX, aNewY, true ); PaintGrid(); PaintTop(); @@ -1750,13 +1750,13 @@ ScTabViewShell::ScTabViewShell( SfxViewFrame* pViewFrame, if ( GetViewData()->GetDocShell()->IsPreview() ) { // preview for template dialog: always show whole page - SetZoomType( SVX_ZOOM_WHOLEPAGE, sal_True ); // zoom value is recalculated at next Resize + SetZoomType( SVX_ZOOM_WHOLEPAGE, true ); // zoom value is recalculated at next Resize } else { Fraction aFract( rAppOpt.GetZoom(), 100 ); - SetZoom( aFract, aFract, sal_True ); - SetZoomType( rAppOpt.GetZoomType(), sal_True ); + SetZoom( aFract, aFract, true ); + SetZoomType( rAppOpt.GetZoomType(), true ); } // make Controller known to SFX diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 8444ce8e10ae..d04714771a00 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -582,7 +582,7 @@ void ScViewData::SetZoomType( SvxZoomType eNew, std::vector< SCTAB >& tabs ) } } -void ScViewData::SetZoomType( SvxZoomType eNew, sal_Bool bAll ) +void ScViewData::SetZoomType( SvxZoomType eNew, bool bAll ) { std::vector< SCTAB > vTabs; // Empty for all tabs if ( !bAll ) // get selected tabs @@ -667,7 +667,7 @@ void ScViewData::SetZoom( const Fraction& rNewX, const Fraction& rNewY, std::vec RefreshZoom(); } -void ScViewData::SetZoom( const Fraction& rNewX, const Fraction& rNewY, sal_Bool bAll ) +void ScViewData::SetZoom( const Fraction& rNewX, const Fraction& rNewY, bool bAll ) { std::vector< SCTAB > vTabs; if ( !bAll ) // get selected tabs |