summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/uno/unoDirectSql.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-12-06 14:15:55 +0200
committerNoel Grandin <noel@peralex.com>2012-12-06 14:16:44 +0200
commit19854e653be1dc01f5b655fca851a6e3a651a940 (patch)
treef19e921125d72db2c132742d3d0a2ea0c66cff79 /dbaccess/source/ui/uno/unoDirectSql.cxx
parent8909b2c384154baa2174aa53b433b12b02871e75 (diff)
fdo#46808, Adapt sdb::ErrorMessageDialog UNO service to new style
Change-Id: Iaf12324e6aa64b268555b0f4c82f04f4c0f6f123
Diffstat (limited to 'dbaccess/source/ui/uno/unoDirectSql.cxx')
-rw-r--r--dbaccess/source/ui/uno/unoDirectSql.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/uno/unoDirectSql.cxx b/dbaccess/source/ui/uno/unoDirectSql.cxx
index af33da0c8221..3bebc92be2d7 100644
--- a/dbaccess/source/ui/uno/unoDirectSql.cxx
+++ b/dbaccess/source/ui/uno/unoDirectSql.cxx
@@ -86,7 +86,7 @@ DBG_NAME(ODirectSQLDialog)
try
{
// the connection the row set is working with
- ODatasourceConnector aDSConnector(m_aContext.getLegacyServiceFactory(),_pParent);
+ ODatasourceConnector aDSConnector(m_aContext.getUNOContext(), _pParent);
xConnection = aDSConnector.connect( m_sInitialSelection, NULL );
}
catch( const Exception& )