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

Tor Lillqvist tml at collabora.com
Wed Sep 10 08:57:48 PDT 2014


 sw/source/core/doc/docnew.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 628a0f27de2ad6712c87899b96fe4dcc20a592ef
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Sep 10 18:52:58 2014 +0300

    WaE: implicit conversion of literal of type 'int' to 'bool'
    
    Change-Id: Ie21c61d718d720ec6bac741cd17e807123f47129

diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index fc7288b..60330c8 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -1080,7 +1080,7 @@ void SwDoc::Append( const SwDoc& rSource, sal_uInt16 nStartPageNumber,
                 SwFmt *pFmt = 0;
 
                 // find the first node allowed to contain a RES_PAGEDESC
-                while (1) {
+                while (true) {
                     aFixupIdx++;
 
                     SwNode &node = aFixupIdx.GetNode();


More information about the Libreoffice-commits mailing list