summaryrefslogtreecommitdiff
path: root/vcl/source/edit/texteng.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-05-22 09:11:28 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-05-22 09:16:14 +0900
commit0837a36d9d1734bc48e34cdce609451bbfb38f77 (patch)
tree2f9b5ee7b61d5f654654191f8c4d8548d5983bf0 /vcl/source/edit/texteng.cxx
parent4169a1264f8b491e80740c82bada9f6c34e4d26e (diff)
sal_Bool to bool
Change-Id: I9586db0082592a703dd791b4846a12529b131b9a
Diffstat (limited to 'vcl/source/edit/texteng.cxx')
-rw-r--r--vcl/source/edit/texteng.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index 7e2186e47da7..14c864fab2bb 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -674,8 +674,8 @@ TextPaM TextEngine::ImpInsertText( sal_Unicode c, const TextSelection& rCurSel,
if ( pNode->GetText().Len() < STRING_MAXLEN )
{
- sal_Bool bDoOverwrite = ( bOverwrite &&
- ( aPaM.GetIndex() < pNode->GetText().Len() ) ) ? sal_True : sal_False;
+ bool bDoOverwrite = ( bOverwrite &&
+ ( aPaM.GetIndex() < pNode->GetText().Len() ) );
bool bUndoAction = ( rCurSel.HasRange() || bDoOverwrite );