sw/source/uibase/shells/basesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dca7d930330dff70bf5835d3ae43d598df30f71b Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Thu Jul 4 22:12:02 2019 +0200 Commit: Jim Raykowski <rayk...@gmail.com> CommitDate: Thu Jul 4 23:44:45 2019 +0200 cid#1448299: Constant expression result (sw/basesh) Change-Id: Id4fab1797be58acd179d6e0fc7c9be21c454e676 Reviewed-on: https://gerrit.libreoffice.org/75105 Tested-by: Jenkins Reviewed-by: Jim Raykowski <rayk...@gmail.com> diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index 0c76cd643f9a..f84787aa5eb0 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -2266,7 +2266,7 @@ void SwBaseShell::ExecBckCol(SfxRequest& rReq) const SfxItemSet* pArgs = rReq.GetArgs(); sal_uInt16 nSlot(rReq.GetSlot()); - if (!pArgs && ( nSlot != SID_BACKGROUND_COLOR || nSlot != SID_TABLE_CELL_BACKGROUND_COLOR ) ) + if (!pArgs && nSlot != SID_BACKGROUND_COLOR && nSlot != SID_TABLE_CELL_BACKGROUND_COLOR) { return; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits