summaryrefslogtreecommitdiff
path: root/cui/source/dialogs
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-04-21 16:55:25 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-04-22 07:16:25 +0000
commite0067f8451402f84093836e000acd09fe3ab820d (patch)
tree4afd4f60cd6f52f5bc3ed4c79861fa57d149469e /cui/source/dialogs
parent43c422ebb7a7c1431d179ed1b9572fabf9845aa8 (diff)
sal_Bool to bool
Change-Id: I5831dfb7270ce3983a454c6c40558a74931d5200 Reviewed-on: https://gerrit.libreoffice.org/3537 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index ebf3a471a2e2..6d1eb8292de7 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -828,15 +828,15 @@ namespace svx
}
//-------------------------------------------------------------------------
- void HangulHanjaConversionDialog::SetByCharacter( sal_Bool _bByCharacter )
+ void HangulHanjaConversionDialog::SetByCharacter( bool _bByCharacter )
{
- m_aReplaceByChar.Check( _bByCharacter );
+ m_aReplaceByChar.Check( static_cast<sal_Bool>(_bByCharacter) );
m_aSuggestions.DisplayListBox( !_bByCharacter );
}
//-------------------------------------------------------------------------
void HangulHanjaConversionDialog::SetConversionDirectionState(
- sal_Bool _bTryBothDirections,
+ bool _bTryBothDirections,
HHC::ConversionDirection _ePrimaryConversionDirection )
{
// default state: try both direction
@@ -855,7 +855,7 @@ namespace svx
}
//-------------------------------------------------------------------------
- sal_Bool HangulHanjaConversionDialog::GetUseBothDirections( ) const
+ bool HangulHanjaConversionDialog::GetUseBothDirections( ) const
{
return !m_aHangulOnly.IsChecked() && !m_aHanjaOnly.IsChecked();
}
@@ -912,7 +912,7 @@ namespace svx
}
//-------------------------------------------------------------------------
- void HangulHanjaConversionDialog::EnableRubySupport( sal_Bool bVal )
+ void HangulHanjaConversionDialog::EnableRubySupport( bool bVal )
{
m_pHanjaAbove->Enable( bVal );
m_pHanjaBelow->Enable( bVal );