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

Julien Nabet serval2412 at yahoo.fr
Mon Apr 11 10:16:16 UTC 2016


 basic/source/sbx/sbxscan.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f088a556ca17658b442da6ad9ddd52be138750ef
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Apr 11 09:34:13 2016 +0200

    Remove an useless check I had added
    
    Reverts partly https://cgit.freedesktop.org/libreoffice/core/commit/?id=43109b751bf5fd36318de56b2fb686acc724673f
    
    Change-Id: Ief7fd752d260031e243ea4304f6c55fa4dc42bfd
    Reviewed-on: https://gerrit.libreoffice.org/23984
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index e0c8559..f108946 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -531,7 +531,7 @@ static sal_uInt16 printfmtstr( const OUString& rStr, OUString& rRes, const OUStr
             aTemp.append( *pStr ? *pStr++ : static_cast< sal_Unicode >(' '));
             pFmt++;
         }
-        while( pFmt && *pFmt != '\\' );
+        while( *pFmt != '\\' );
         aTemp.append(*pStr ? *pStr++ : static_cast< sal_Unicode >(' '));
         pFmt++; break;
     case '&':


More information about the Libreoffice-commits mailing list