cppcheck: Fix same expression on both sides of '&&'
Change-Id: Iddc7ac546cbe105466278a733f5ae17451b9670b
This commit is contained in:
@@ -2538,7 +2538,7 @@ IMPL_LINK(FmXFormShell, OnSearchContextRequest, FmSearchContext*, pfmscContextIn
|
|||||||
// when the cursor is a non-STANDARD RecordMode, set it back
|
// when the cursor is a non-STANDARD RecordMode, set it back
|
||||||
Reference< XPropertySet> xCursorSet(pfmscContextInfo->xCursor, UNO_QUERY);
|
Reference< XPropertySet> xCursorSet(pfmscContextInfo->xCursor, UNO_QUERY);
|
||||||
Reference< XResultSetUpdate> xUpdateCursor(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)))
|
if (::comphelper::getBOOL(xCursorSet->getPropertyValue(FM_PROP_ISNEW)))
|
||||||
xUpdateCursor->moveToCurrentRow();
|
xUpdateCursor->moveToCurrentRow();
|
||||||
|
Reference in New Issue
Block a user