diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-07-01 17:38:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-07-01 17:49:10 +0200 |
commit | 9263b101c39172cbcf04189c515bca80cb15f3aa (patch) | |
tree | 6afe725fda4f3e50fb89a69e16e642b0d41dbf62 /svtools | |
parent | 485a7c880fd2675ff9c5fc792d4caae980b4535e (diff) |
Activate the "suspicious cast to sal_Bool" parts of loplugin:salbool
Change-Id: I78a368ef2899b2462251b45a327fc7b1f31fe764
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/unogridcolumnfacade.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx index 3acf350a7a38..6b98792f3047 100644 --- a/svtools/source/uno/unogridcolumnfacade.cxx +++ b/svtools/source/uno/unogridcolumnfacade.cxx @@ -56,9 +56,9 @@ namespace svt { namespace table namespace { - template< class ATTRIBUTE_TYPE > - void lcl_set( Reference< XGridColumn > const & i_column, void ( SAL_CALL XGridColumn::*i_setter )( ATTRIBUTE_TYPE ), - ATTRIBUTE_TYPE i_value ) + template< class T1, class T2 > + void lcl_set( Reference< XGridColumn > const & i_column, void ( SAL_CALL XGridColumn::*i_setter )( T1 ), + T2 i_value ) { try { @@ -334,7 +334,7 @@ namespace svt { namespace table void UnoGridColumnFacade::setResizable( bool i_resizable ) { ENSURE_OR_RETURN_VOID( m_xGridColumn.is(), "UnoGridColumnFacade: already disposed!" ); - lcl_set( m_xGridColumn, &XGridColumn::setResizeable, sal_Bool( i_resizable ) ); + lcl_set( m_xGridColumn, &XGridColumn::setResizeable, i_resizable ); } |