diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-07 17:54:14 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-07 18:43:32 +0100 |
commit | 85cdb06fd5ba0c974e729a56dcb0e323c4cdfd25 (patch) | |
tree | 4118701347d05fb5287e51cf0033f95ae34dff39 /svx/source/gallery2 | |
parent | b20888e1299464249875652ac3794258a75c593b (diff) |
sal_Bool -> bool
Change-Id: Ifc80202e0865b59931af6e50d3d60f5021f8b52e
Diffstat (limited to 'svx/source/gallery2')
-rw-r--r-- | svx/source/gallery2/galbrws2.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index ed1ec44e2da5..fb483ed01a3d 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -777,8 +777,8 @@ void GalleryBrowser2::SelectTheme( const OUString& rThemeName ) Resize(); ImplUpdateViews( 1 ); - maViewBox.EnableItem( TBX_ID_ICON, sal_True ); - maViewBox.EnableItem( TBX_ID_LIST, sal_True ); + maViewBox.EnableItem( TBX_ID_ICON, true ); + maViewBox.EnableItem( TBX_ID_LIST, true ); maViewBox.CheckItem( ( GALLERYBROWSERMODE_ICON == GetMode() ) ? TBX_ID_ICON : TBX_ID_LIST, sal_True ); if(maInfoBar.GetText().isEmpty()) @@ -806,8 +806,8 @@ void GalleryBrowser2::SetMode( GalleryBrowserMode eMode ) mpIconView->Show(); - maViewBox.EnableItem( TBX_ID_ICON, sal_True ); - maViewBox.EnableItem( TBX_ID_LIST, sal_True ); + maViewBox.EnableItem( TBX_ID_ICON, true ); + maViewBox.EnableItem( TBX_ID_LIST, true ); maViewBox.CheckItem( TBX_ID_ICON, sal_True ); maViewBox.CheckItem( TBX_ID_LIST, sal_False ); @@ -824,8 +824,8 @@ void GalleryBrowser2::SetMode( GalleryBrowserMode eMode ) mpListView->Show(); - maViewBox.EnableItem( TBX_ID_ICON, sal_True ); - maViewBox.EnableItem( TBX_ID_LIST, sal_True ); + maViewBox.EnableItem( TBX_ID_ICON, true ); + maViewBox.EnableItem( TBX_ID_LIST, true ); maViewBox.CheckItem( TBX_ID_ICON, sal_False ); maViewBox.CheckItem( TBX_ID_LIST, sal_True ); @@ -854,8 +854,8 @@ void GalleryBrowser2::SetMode( GalleryBrowserMode eMode ) if( mpCurTheme && mpCurTheme->GetObjectKind( nPos ) == SGA_OBJ_SOUND ) mpPreview->PreviewMedia( mpCurTheme->GetObjectURL( nPos ) ); - maViewBox.EnableItem( TBX_ID_ICON, sal_False ); - maViewBox.EnableItem( TBX_ID_LIST, sal_False ); + maViewBox.EnableItem( TBX_ID_ICON, false ); + maViewBox.EnableItem( TBX_ID_LIST, false ); } } break; |