diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-07-04 22:12:02 +0200 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2019-07-04 23:44:45 +0200 |
commit | dca7d930330dff70bf5835d3ae43d598df30f71b (patch) | |
tree | 748630f3069011a7f7a6fac8c1e5e400aef76803 | |
parent | 2f6ead197bbff5142199d00a30ab900ebb997754 (diff) |
cid#1448299: Constant expression result (sw/basesh)
Change-Id: Id4fab1797be58acd179d6e0fc7c9be21c454e676
Reviewed-on: https://gerrit.libreoffice.org/75105
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
-rw-r--r-- | sw/source/uibase/shells/basesh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |