From e7061b8ecbfc54f3980504b01df7c502039652df Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sat, 15 Nov 2014 15:48:01 +0100 Subject: sw: convert 'a ? sal_False : b' to '!a && b' Change-Id: I999404544b1ed35a19096df58172e62bd1685e75 --- sw/source/uibase/shells/basesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase') 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: -- cgit v1.2.3