Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3141
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/41/3141/1
coverity#704129: Operands don't affect result
Change-Id: I6faf86c3a41296ba4a267a58d7d0814e526b85a8
---
M sw/source/ui/index/cntex.cxx
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sw/source/ui/index/cntex.cxx b/sw/source/ui/index/cntex.cxx
index 921f0ba..a695b02 100644
--- a/sw/source/ui/index/cntex.cxx
+++ b/sw/source/ui/index/cntex.cxx
@@ -292,7 +292,7 @@
lcl_SetBOOLProp(xInfo, xIdxProps, UNO_NAME_CREATE_FROM_STAR_CHART,
0 != (nsSwTOOElements::TOO_CHART &nOLEOptions ));
lcl_SetBOOLProp(xInfo, xIdxProps, UNO_NAME_CREATE_FROM_STAR_CALC,
0 != (nsSwTOOElements::TOO_CALC &nOLEOptions ));
lcl_SetBOOLProp(xInfo, xIdxProps, UNO_NAME_CREATE_FROM_STAR_DRAW,
0 != (nsSwTOOElements::TOO_DRAW_IMPRESS&nOLEOptions));
- lcl_SetBOOLProp(xInfo, xIdxProps,
UNO_NAME_CREATE_FROM_OTHER_EMBEDDED_OBJECTS, 0 !=
(nsSwTOOElements::TOO_OTHER|nOLEOptions ));
+ lcl_SetBOOLProp(xInfo, xIdxProps,
UNO_NAME_CREATE_FROM_OTHER_EMBEDDED_OBJECTS, 0 != (nsSwTOOElements::TOO_OTHER &
nOLEOptions));
}
const SwForm* pForm = GetForm(eCurrentTOXType);
if(bInitialCreate || !nPage || nPage == TOX_PAGE_ENTRY)
--
To view, visit https://gerrit.libreoffice.org/3141
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6faf86c3a41296ba4a267a58d7d0814e526b85a8
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet <[email protected]>
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice