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

Julien Nabet serval2412 at yahoo.fr
Sun Sep 10 11:12:34 UTC 2017


 sd/source/filter/eppt/pptx-epptooxml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 69057cd178f30b53728b6d57468f520ffbbeadbc
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Sep 10 11:21:23 2017 +0200

    cppcheck: unsignedLessThanZero
    
    Change-Id: Ia3880fc200e885ba99ff1fc054b424f486b01d67
    Reviewed-on: https://gerrit.libreoffice.org/42132
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index 51c70d4b40d1..62b0c4c1440b 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -1652,7 +1652,7 @@ static OUString lcl_GetInitials(const OUString& sName)
 
 void PowerPointExport::WriteAuthors()
 {
-    if (maAuthors.size() <= 0)
+    if (maAuthors.empty())
         return;
 
     FSHelperPtr pFS = openFragmentStreamWithSerializer("ppt/commentAuthors.xml",


More information about the Libreoffice-commits mailing list