[Libreoffice-commits] core.git: sw/source

Tor Lillqvist tml at collabora.com
Sat Feb 22 23:56:31 PST 2014


 sw/source/ui/docvw/edtwin.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit f839b5dd16c05c0eda21345ec36ec0cb024eb732
Author: Tor Lillqvist <tml at collabora.com>
Date:   Sun Feb 23 09:55:02 2014 +0200

    WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'
    
    Change-Id: If6f0ce1ff376b80e4790b0790332867090c42e4d

diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 18da201..ad0f592 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -1811,7 +1811,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
                 case KEY_DELETE:
                     if ( !rSh.HasReadonlySel() )
                     {
-                        if (rSh.IsInFrontOfLabel() && rSh.NumOrNoNum(sal_False))
+                        if (rSh.IsInFrontOfLabel() && rSh.NumOrNoNum(false))
                             eKeyState = KS_NumOrNoNum;
                     }
                     else
@@ -1972,7 +1972,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
                                     }
                                 }
                                 if ( bCallNumOrNoNum
-                                     && rSh.NumOrNoNum( !bOnlyBackspaceKey, sal_True ) )
+                                     && rSh.NumOrNoNum( !bOnlyBackspaceKey, true ) )
                                 {
                                     eKeyState = KS_NumOrNoNum;
                                 }
@@ -2237,7 +2237,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
 
                 if( bNormalChar && rSh.IsInFrontOfLabel() )
                 {
-                    rSh.NumOrNoNum(sal_False);
+                    rSh.NumOrNoNum(false);
                 }
 
                 if( !m_aInBuffer.isEmpty() && ( !bNormalChar || bIsDocReadOnly ))


More information about the Libreoffice-commits mailing list