summaryrefslogtreecommitdiff
path: root/forms/source/component/Pattern.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/Pattern.cxx')
-rw-r--r--forms/source/component/Pattern.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Pattern.cxx b/forms/source/component/Pattern.cxx
index 67335d0905e3..2d24d5f65a5f 100644
--- a/forms/source/component/Pattern.cxx
+++ b/forms/source/component/Pattern.cxx
@@ -189,7 +189,7 @@ void OPatternModel::onConnectedDbColumn( const Reference< XInterface >& _rxForm
if ( !xField.is() )
return;
- m_pFormattedValue.reset( new ::dbtools::FormattedColumnValue( getContext(), Reference< XRowSet >( _rxForm, UNO_QUERY ), xField ) );
+ m_pFormattedValue.reset( new ::dbtools::FormattedColumnValue( getContext().getUNOContext(), Reference< XRowSet >( _rxForm, UNO_QUERY ), xField ) );
}
//------------------------------------------------------------------------------