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/core/unocore/unoportenum.cxx | |
parent | 2abe293f085fc66eeaeeae85c9714a41a874cbcd (diff) |
sw: avoid 'condition ? sal_True : sal_False' expressions
Change-Id: Idd6c9f9752659fc5da575e5a3f0ffc15ce5dbe1c
Diffstat (limited to 'sw/source/core/unocore/unoportenum.cxx')
-rw-r--r-- | sw/source/core/unocore/unoportenum.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx index 1aa2bd56ae54..90e9700c1bda 100644 --- a/sw/source/core/unocore/unoportenum.cxx +++ b/sw/source/core/unocore/unoportenum.cxx @@ -399,7 +399,7 @@ throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; - return (m_Portions.size() > 0) ? sal_True : sal_False; + return static_cast<sal_Bool>(m_Portions.size() > 0); } uno::Any SwXTextPortionEnumeration::nextElement() |