diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 21:14:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:18:13 +0200 |
commit | 33451555e4fd8479c6ce64aad91ea93f3e03e633 (patch) | |
tree | 3bbeb9dd0c4b176b2b13eebf4ed75ac5106ae557 | |
parent | 7392e1326d4d2512576aa61c677068a560620bb8 (diff) |
Improved loplugin:cstylecast to reference types: connectivity
Change-Id: I63c747efa2aacf4cb23de6fe9ab02af7abc107f9
-rw-r--r-- | connectivity/source/parse/sqlnode.cxx | 2 | ||||
-rw-r--r-- | include/connectivity/sqlerror.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx index a4d89f4e4290..2bb37029b583 100644 --- a/connectivity/source/parse/sqlnode.cxx +++ b/connectivity/source/parse/sqlnode.cxx @@ -200,7 +200,7 @@ SQLParseNodeParameter::SQLParseNodeParameter( const Reference< XConnection >& _r ,xFormatter(_xFormatter) ,xField(_xField) ,sPredicateTableAlias(_sPredicateTableAlias) - ,m_rContext( _pContext ? (const IParseContext&)(*_pContext) : (const IParseContext&)OSQLParser::s_aDefaultContext ) + ,m_rContext( _pContext ? *_pContext : OSQLParser::s_aDefaultContext ) ,cDecSep(_cDecSep) ,bQuote(_bQuote) ,bInternational(_bIntl) diff --git a/include/connectivity/sqlerror.hxx b/include/connectivity/sqlerror.hxx index cba93313abb9..4c4d6e683c01 100644 --- a/include/connectivity/sqlerror.hxx +++ b/include/connectivity/sqlerror.hxx @@ -71,7 +71,7 @@ namespace connectivity public: ParamValue( ) : base_type( ) { } ParamValue( OUString const& val ) : base_type( val ) { } - ParamValue( ParamValue const& rhs ) : base_type( (base_type const&)rhs ) { } + ParamValue( ParamValue const& rhs ) : base_type( rhs ) { } bool is() const { return !base_type::operator!(); } }; |