diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-01-09 19:38:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-01-09 20:21:59 +0100 |
commit | 6efffbbfce9c27439f54970f7a569b069ce46eba (patch) | |
tree | cecff16ae5325875c3e6471170040c38859bff56 /dbaccess | |
parent | 2ab481b038b62b1ff576ac4d49d03c1798cd7f84 (diff) |
Improve loplugin:redundantcast for sal_Int... vs. ::sal_Int...
Change-Id: I1548a76fdc03afee68f1e5c01bc665e616f2edf2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86501
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/RowSet.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/queryfilter.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx index 6272822bbd10..933530480d55 100644 --- a/dbaccess/source/core/api/RowSet.cxx +++ b/dbaccess/source/core/api/RowSet.cxx @@ -225,7 +225,7 @@ void ORowSet::getPropertyDefaultByHandle( sal_Int32 _nHandle, Any& _rDefault ) c switch( _nHandle ) { case PROPERTY_ID_COMMAND_TYPE: - _rDefault <<= static_cast<sal_Int32>(CommandType::COMMAND); + _rDefault <<= CommandType::COMMAND; break; case PROPERTY_ID_IGNORERESULT: _rDefault <<= false; diff --git a/dbaccess/source/ui/dlg/queryfilter.cxx b/dbaccess/source/ui/dlg/queryfilter.cxx index 41c7ced4734d..8f771f5367a3 100644 --- a/dbaccess/source/ui/dlg/queryfilter.cxx +++ b/dbaccess/source/ui/dlg/queryfilter.cxx @@ -492,7 +492,7 @@ void DlgFilterCrit::SetLine( int nIdx, const PropertyValue& _rItem, bool _bOr ) ListSelectHdl( *pColumnListControl ); // select the appropriate condition - pPredicateListControl->set_active( GetSelectionPos( static_cast<sal_Int32>(_rItem.Handle), *pPredicateListControl ) ); + pPredicateListControl->set_active( GetSelectionPos( _rItem.Handle, *pPredicateListControl ) ); // initially normalize this value OUString aString( aStr ); |