cppcheck: Same expression on both sides of '||'

Change-Id: Ibdadac46483ca3b17a12e3d1ae31f75a869b8dbc
This commit is contained in:
Julien Nabet 2014-12-18 21:56:31 +01:00
parent d249282d51
commit 24dab5d51a

View File

@ -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 ] );