diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-11-15 15:48:01 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-11-16 16:54:43 +0100 |
commit | e7061b8ecbfc54f3980504b01df7c502039652df (patch) | |
tree | e9e78df91abcc4d24e427db5e38081058915814a /sw/source/uibase | |
parent | f65dea36d2778b7f626ac8b07cd057110a5c3a4b (diff) |
sw: convert 'a ? sal_False : b' to '!a && b'
Change-Id: I999404544b1ed35a19096df58172e62bd1685e75
Diffstat (limited to 'sw/source/uibase')
-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 636bfc946dfb..9002984956a5 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -1697,7 +1697,7 @@ void SwBaseShell::GetState( SfxItemSet &rSet ) GRAPHIC_NONE == rSh.GetIMapGraphic().GetType(); } } - bSet = bDisable ? sal_False : rWrap.IsContour(); + bSet = !bDisable && rWrap.IsContour(); break; case FN_WRAP_ANCHOR_ONLY: |