Kaydet (Commit) 56f065b2 authored tarafından Julien Nabet's avatar Julien Nabet

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

Change-Id: Iddc7ac546cbe105466278a733f5ae17451b9670b
üst 14d7aa76
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment