Kaydet (Commit) 806d18ae authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

optimisation: take ref to OUString instead of constructing temp object

Change-Id: I9dcb821cd71f89fa5b3d8274fd93facc1f43863f
üst fcee4868
...@@ -162,7 +162,7 @@ rtl::OUString OTableColumn::getImplementationName( ) throw (RuntimeException) ...@@ -162,7 +162,7 @@ rtl::OUString OTableColumn::getImplementationName( ) throw (RuntimeException)
// ========================================================================= // =========================================================================
DBG_NAME( OQueryColumn ); DBG_NAME( OQueryColumn );
OQueryColumn::OQueryColumn( const Reference< XPropertySet >& _rxParserColumn, const Reference< XConnection >& _rxConnection,const ::rtl::OUString i_sLabel ) OQueryColumn::OQueryColumn( const Reference< XPropertySet >& _rxParserColumn, const Reference< XConnection >& _rxConnection, const ::rtl::OUString &i_sLabel )
:OTableColumnDescriptor( false /* do not act as descriptor */ ) :OTableColumnDescriptor( false /* do not act as descriptor */ )
,m_sLabel(i_sLabel) ,m_sLabel(i_sLabel)
{ {
......
...@@ -158,7 +158,7 @@ namespace dbaccess ...@@ -158,7 +158,7 @@ namespace dbaccess
OQueryColumn( OQueryColumn(
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& _rxParserColumn, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& _rxParserColumn,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection,
const ::rtl::OUString i_sLabel const ::rtl::OUString &i_sLabel
); );
// XTypeProvider // XTypeProvider
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment