diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:19:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:25:49 +0200 |
commit | 67187c14175778b7939692d6be6e8bab2930be1b (patch) | |
tree | 4de0a861cf58fe5ce82fa9c915b0b73ff73aad89 /sc/source/ui/vba/vbavalidation.cxx | |
parent | 607b6ced16e840dc860bbd3ea934816b6e1c6680 (diff) |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I9b99327d58a63dfa5c292784cefb4894ee6d7fa8
Diffstat (limited to 'sc/source/ui/vba/vbavalidation.cxx')
-rw-r--r-- | sc/source/ui/vba/vbavalidation.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/vba/vbavalidation.cxx b/sc/source/ui/vba/vbavalidation.cxx index fa03dfe2cf76..2d1df5f7bdfd 100644 --- a/sc/source/ui/vba/vbavalidation.cxx +++ b/sc/source/ui/vba/vbavalidation.cxx @@ -196,9 +196,9 @@ ScVbaValidation::Delete( ) throw (uno::RuntimeException, std::exception) OUString sBlank; uno::Reference< beans::XPropertySet > xProps( lcl_getValidationProps( m_xRange ) ); uno::Reference< sheet::XSheetCondition > xCond( xProps, uno::UNO_QUERY_THROW ); - xProps->setPropertyValue( SC_UNONAME_IGNOREBL, uno::makeAny( sal_True ) ); - xProps->setPropertyValue( SC_UNONAME_SHOWINP, uno::makeAny( sal_True ) ); - xProps->setPropertyValue( SC_UNONAME_SHOWERR, uno::makeAny( sal_True ) ); + xProps->setPropertyValue( SC_UNONAME_IGNOREBL, uno::makeAny( true ) ); + xProps->setPropertyValue( SC_UNONAME_SHOWINP, uno::makeAny( true ) ); + xProps->setPropertyValue( SC_UNONAME_SHOWERR, uno::makeAny( true ) ); xProps->setPropertyValue( SC_UNONAME_ERRTITLE, uno::makeAny( sBlank ) ); xProps->setPropertyValue( SC_UNONAME_INPMESS, uno::makeAny( sBlank) ); xProps->setPropertyValue( SC_UNONAME_ERRALSTY, uno::makeAny( sheet::ValidationAlertStyle_STOP) ); |