diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-04-22 22:40:21 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-04-22 22:40:21 +0200 |
commit | 56f065b29995e7a44f661a158b1f56eb3983742f (patch) | |
tree | da2f4d8b7189d24ae6dfc5a387a9eac2073a5f4a | |
parent | 14d7aa76923bb046e4cca361c72eca817000342f (diff) |
cppcheck: Fix same expression on both sides of '&&'
Change-Id: Iddc7ac546cbe105466278a733f5ae17451b9670b
-rw-r--r-- | svx/source/form/fmshimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 47a36a9ef310..732d947b5e2d 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -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(); |