diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /svtools/source/control/stdmenu.cxx | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'svtools/source/control/stdmenu.cxx')
-rw-r--r-- | svtools/source/control/stdmenu.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/control/stdmenu.cxx b/svtools/source/control/stdmenu.cxx index 04fbe3e0da7c..a8c08377619d 100644 --- a/svtools/source/control/stdmenu.cxx +++ b/svtools/source/control/stdmenu.cxx @@ -106,13 +106,13 @@ void FontNameMenu::SetCurName(const OUString& rName) OUString aText = GetItemText( nItemId ); if ( aText == maCurName ) { - CheckItem( nItemId, sal_True ); + CheckItem( nItemId, true ); return; } } if ( nChecked ) - CheckItem( nChecked, sal_False ); + CheckItem( nChecked, false ); } // ======================================================================== @@ -219,7 +219,7 @@ void FontSizeMenu::Fill( const FontInfo& rInfo, const FontList* pList ) { mpHeightAry[nPos] = *pTempAry; nPos++; // Id is nPos+1 - InsertItem( nPos, rI18nHelper.GetNum( *pTempAry, 1, sal_True, sal_False ), MIB_RADIOCHECK | MIB_AUTOCHECK ); + InsertItem( nPos, rI18nHelper.GetNum( *pTempAry, 1, true, false ), MIB_RADIOCHECK | MIB_AUTOCHECK ); pTempAry++; } @@ -241,7 +241,7 @@ void FontSizeMenu::SetCurHeight( long nHeight ) if ( mpHeightAry[i] == nHeight ) { - CheckItem( nItemId, sal_True ); + CheckItem( nItemId, true ); return; } @@ -250,7 +250,7 @@ void FontSizeMenu::SetCurHeight( long nHeight ) } if ( nChecked ) - CheckItem( nChecked, sal_False ); + CheckItem( nChecked, false ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |