summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/parse/sqlnode.cxx2
-rw-r--r--include/connectivity/sqlerror.hxx2
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!(); }
};