diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-31 15:30:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-06-03 10:00:02 +0200 |
commit | 2838b8eb5ead00780ed9ed9410abee8b8d53a9a4 (patch) | |
tree | 9adc985fafa8e87435546cee5e64aa6d83ef1fe3 /svx/source/fmcomp | |
parent | 28e3aff576f06b0b02c7232da5d723e865b3c7ed (diff) |
fdo#46808, Convert ComponentContext in connectivity,extension..
...modules.
Change-Id: Ie61976dc12b514bb85ca42496c0d9173a1c56264
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r-- | svx/source/fmcomp/gridcell.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 22b4716829d8..71fb78094dd6 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -1762,9 +1762,9 @@ OUString DbCheckBox::GetFormatText(const Reference< XColumn >& /*_rxField*/, con //============================================================================== //= DbPatternField //------------------------------------------------------------------------------ -DbPatternField::DbPatternField( DbGridColumn& _rColumn, const ::comphelper::ComponentContext& _rContext ) +DbPatternField::DbPatternField( DbGridColumn& _rColumn, const Reference<XComponentContext>& _rContext ) :DbCellControl( _rColumn ) - ,m_aContext( _rContext ) + ,m_xContext( _rContext ) { doPropertyListening( FM_PROP_LITERALMASK ); doPropertyListening( FM_PROP_EDITMASK ); @@ -1835,7 +1835,7 @@ OUString DbPatternField::GetFormatText(const Reference< ::com::sun::star::sdb::X { DBToolsObjectFactory aFactory; rpFormatter = aFactory.createFormattedColumnValue( - m_aContext, getCursor(), Reference< XPropertySet >( _rxField, UNO_QUERY ) ); + m_xContext, getCursor(), Reference< XPropertySet >( _rxField, UNO_QUERY ) ); OSL_ENSURE( rpFormatter.get(), "DbPatternField::Init: no value formatter!" ); } else @@ -2738,7 +2738,7 @@ sal_Bool DbListBox::commitControl() DBG_NAME(DbFilterField); /*************************************************************************/ -DbFilterField::DbFilterField(const Reference< ::com::sun::star::uno::XComponentContext >& rxContext,DbGridColumn& _rColumn) +DbFilterField::DbFilterField(const Reference< XComponentContext >& rxContext,DbGridColumn& _rColumn) :DbCellControl(_rColumn) ,OSQLParserClient(rxContext) ,m_nControlClass(::com::sun::star::form::FormComponentType::TEXTFIELD) |