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

Julien Nabet serval2412 at yahoo.fr
Thu Dec 18 12:59:20 PST 2014


 oox/source/vml/vmlformatting.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 24dab5d51a73375bbe8e52abb83354be78707fa7
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Dec 18 21:56:31 2014 +0100

    cppcheck: Same expression on both sides of '||'
    
    Change-Id: Ibdadac46483ca3b17a12e3d1ae31f75a869b8dbc

diff --git a/oox/source/vml/vmlformatting.cxx b/oox/source/vml/vmlformatting.cxx
index c6859b5..6dcbf3e 100644
--- a/oox/source/vml/vmlformatting.cxx
+++ b/oox/source/vml/vmlformatting.cxx
@@ -373,7 +373,7 @@ void ConversionHelper::decodeVmlPath( ::std::vector< ::std::vector< Point > >& r
                     break;
 
                 case CLOSE: // 0 param
-                    SAL_WARN_IF(rPointLists.back().empty() || rPointLists.back().empty(), "oox", "empty pointlists at close");
+                    SAL_WARN_IF(rPointLists.back().empty() || rFlagLists.back().empty(), "oox", "empty pointlists at close");
                     if (!rPointLists.back().empty() && !rFlagLists.back().empty())
                     {
                         rPointLists.back().push_back( rPointLists.back()[ 0 ] );


More information about the Libreoffice-commits mailing list