summaryrefslogtreecommitdiff
path: root/forms/source/component/Filter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/Filter.cxx')
-rw-r--r--forms/source/component/Filter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx
index 8419142b1864..11d0b7388d9b 100644
--- a/forms/source/component/Filter.cxx
+++ b/forms/source/component/Filter.cxx
@@ -880,7 +880,7 @@ namespace frm
Reference< XChild > xModel( xControlModel, UNO_QUERY );
Reference< XRowSet > xForm;
if ( xModel.is() )
- xForm = xForm.query( xModel->getParent() );
+ xForm.set(xModel->getParent(), css::uno::UNO_QUERY);
m_xConnection = ::dbtools::getConnection( xForm );
OSL_ENSURE( m_xConnection.is(), "OFilterControl::initialize: unable to determine the form's connection!" );
#endif