diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-11-09 22:18:34 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-11-16 16:54:39 +0100 |
commit | a080c8f34d80b8c70764e7bde934f43c2fe4a109 (patch) | |
tree | d8f1437812eeb6cb744762616e54a1a9ed32f3d6 /sw/source/uibase/app | |
parent | 2abe293f085fc66eeaeeae85c9714a41a874cbcd (diff) |
sw: avoid 'condition ? sal_True : sal_False' expressions
Change-Id: Idd6c9f9752659fc5da575e5a3f0ffc15ce5dbe1c
Diffstat (limited to 'sw/source/uibase/app')
-rw-r--r-- | sw/source/uibase/app/docsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx index 462f0a6c9d20..cb68de1e3f3e 100644 --- a/sw/source/uibase/app/docsh.cxx +++ b/sw/source/uibase/app/docsh.cxx @@ -1074,7 +1074,7 @@ IMPL_LINK( SwDocShell, Ole2ModifiedHdl, void *, p ) // Bit 1: -> new state sal_IntPtr nStatus = (sal_IntPtr)p; if( IsEnableSetModified() ) - SetModified( (nStatus & 2) ? sal_True : sal_False ); + SetModified( (nStatus & 2) != 0 ); return 0; } |