[Libreoffice-commits] core.git: svx/source
Julien Nabet
serval2412 at yahoo.fr
Tue Apr 22 13:41:15 PDT 2014
svx/source/form/fmshimp.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 56f065b29995e7a44f661a158b1f56eb3983742f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Tue Apr 22 22:40:21 2014 +0200
cppcheck: Fix same expression on both sides of '&&'
Change-Id: Iddc7ac546cbe105466278a733f5ae17451b9670b
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index 47a36a9..732d947 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();
More information about the Libreoffice-commits
mailing list