diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 09:50:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 10:59:43 +0100 |
commit | 750542c704afdad0f36f5bba22dd946bc902292b (patch) | |
tree | 4edfae164a3ede24c5a25679a468913f66564643 /sw | |
parent | 2a8559769ed807eb6384d1ea9ceb275d60924337 (diff) |
coverity#1326119 Constant expression result
Change-Id: Id8e2e21ed5dc77b92b82bbc8000c06dcd660496e
Diffstat (limited to 'sw')
-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 0262329fc56d..f1ff60c77ec4 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -1054,7 +1054,7 @@ void SwBaseShell::Execute(SfxRequest &rReq) case FLY_AT_PARA: // left, from left, right, top, no wrap, wrap left and right - if(eSurround != SURROUND_LEFT || eSurround != SURROUND_RIGHT) + if (eSurround != SURROUND_LEFT && eSurround != SURROUND_RIGHT) aSet.Put(SwFormatSurround(SURROUND_LEFT)); if( eVOrient != text::VertOrientation::TOP) |