Kaydet (Commit) f839b5dd authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'

Change-Id: If6f0ce1ff376b80e4790b0790332867090c42e4d
üst ebbcd996
...@@ -1811,7 +1811,7 @@ KEYINPUT_CHECKTABLE_INSDEL: ...@@ -1811,7 +1811,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
case KEY_DELETE: case KEY_DELETE:
if ( !rSh.HasReadonlySel() ) if ( !rSh.HasReadonlySel() )
{ {
if (rSh.IsInFrontOfLabel() && rSh.NumOrNoNum(sal_False)) if (rSh.IsInFrontOfLabel() && rSh.NumOrNoNum(false))
eKeyState = KS_NumOrNoNum; eKeyState = KS_NumOrNoNum;
} }
else else
...@@ -1972,7 +1972,7 @@ KEYINPUT_CHECKTABLE_INSDEL: ...@@ -1972,7 +1972,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
} }
} }
if ( bCallNumOrNoNum if ( bCallNumOrNoNum
&& rSh.NumOrNoNum( !bOnlyBackspaceKey, sal_True ) ) && rSh.NumOrNoNum( !bOnlyBackspaceKey, true ) )
{ {
eKeyState = KS_NumOrNoNum; eKeyState = KS_NumOrNoNum;
} }
...@@ -2237,7 +2237,7 @@ KEYINPUT_CHECKTABLE_INSDEL: ...@@ -2237,7 +2237,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
if( bNormalChar && rSh.IsInFrontOfLabel() ) if( bNormalChar && rSh.IsInFrontOfLabel() )
{ {
rSh.NumOrNoNum(sal_False); rSh.NumOrNoNum(false);
} }
if( !m_aInBuffer.isEmpty() && ( !bNormalChar || bIsDocReadOnly )) if( !m_aInBuffer.isEmpty() && ( !bNormalChar || bIsDocReadOnly ))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment