diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:28:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:31:00 +0200 |
commit | 6c97d801203b277428e329d174c8650e5fae78ab (patch) | |
tree | 6f3bd74f23cabfdac763e3c02ee973d43f4d9c9f /sc/source/ui/vba/vbavalidation.cxx | |
parent | 3591554df303958e519d8758acd595975809c827 (diff) |
More loplugin:simplifybool
Change-Id: I65ea51a6d34942acfe8c4fe0dee62781251fb1bf
Diffstat (limited to 'sc/source/ui/vba/vbavalidation.cxx')
-rw-r--r-- | sc/source/ui/vba/vbavalidation.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbavalidation.cxx b/sc/source/ui/vba/vbavalidation.cxx index 95585a05b51b..541be9a773e2 100644 --- a/sc/source/ui/vba/vbavalidation.cxx +++ b/sc/source/ui/vba/vbavalidation.cxx @@ -74,7 +74,7 @@ ScVbaValidation::getInCellDropdown() throw (uno::RuntimeException, std::exceptio uno::Reference< beans::XPropertySet > xProps = lcl_getValidationProps( m_xRange ); sal_Int32 nShowList = 0; xProps->getPropertyValue( SC_UNONAME_SHOWLIST ) >>= nShowList; - return ( nShowList ? sal_True : false ); + return nShowList != 0; } void SAL_CALL |