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

Michael Stahl mstahl at redhat.com
Wed Apr 29 09:31:14 PDT 2015


 cui/source/tabpages/tpcolor.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6cf3cdce6d66651f69346fd342e8a7040bbb0786
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Apr 29 18:25:15 2015 +0200

    cui: loplugin:literaltoboolconversion
    
    Change-Id: I26b9778d2fe593dd5d4bdbc2cb737c6304bae120

diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx
index 3c3ecf2..61f1028 100644
--- a/cui/source/tabpages/tpcolor.cxx
+++ b/cui/source/tabpages/tpcolor.cxx
@@ -693,7 +693,7 @@ IMPL_LINK_NOARG(SvxColorTabPage, ClickAddHdl_Impl)
     long j = 1;
 
     // check if name is already existing
-    while (1)
+    while (true)
     {
         bool bDifferent = true;
 


More information about the Libreoffice-commits mailing list