diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-17 11:04:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-17 11:04:56 +0100 |
commit | 1b3f795c8e993fa9a8b76f84292041d3d22523dc (patch) | |
tree | 91df2a4fbe9b3370a84f789fbf867a994f59acf3 /sw/source/core/unocore/unoportenum.cxx | |
parent | d8a8149e1550ca435b35a421b97070266914f49f (diff) |
suspicious cast from 'bool' to 'sal_Bool' [loplugin:salbool]
Change-Id: I28b52faa71bb198ee34ae4893e4610aa83773645
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 90e9700c1bda..039e60f94436 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 static_cast<sal_Bool>(m_Portions.size() > 0); + return m_Portions.size() > 0; } uno::Any SwXTextPortionEnumeration::nextElement() |