cppcheck: Fix same expression on both sides of '&&'

Change-Id: Iddc7ac546cbe105466278a733f5ae17451b9670b
This commit is contained in:
Julien Nabet
2014-04-22 22:40:21 +02:00
parent 14d7aa7692
commit 56f065b299

View File

@@ -2538,7 +2538,7 @@ IMPL_LINK(FmXFormShell, OnSearchContextRequest, FmSearchContext*, pfmscContextIn
// when the cursor is a non-STANDARD RecordMode, set it back
Reference< XPropertySet> xCursorSet(pfmscContextInfo->xCursor, UNO_QUERY);
Reference< XResultSetUpdate> xUpdateCursor(pfmscContextInfo->xCursor, UNO_QUERY);
if (xUpdateCursor.is() && xCursorSet.is() && xCursorSet.is())
if (xUpdateCursor.is() && xCursorSet.is())
{
if (::comphelper::getBOOL(xCursorSet->getPropertyValue(FM_PROP_ISNEW)))
xUpdateCursor->moveToCurrentRow();