summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/brwctrlr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-12-03 13:55:06 +0200
committerNoel Grandin <noel@peralex.com>2012-12-10 08:05:49 +0200
commitb9a4a0b9658015a0d55c42de1f5e56941e20d268 (patch)
treed5d377f24ee3377fdf6f912415b382b2d3e85070 /dbaccess/source/ui/browser/brwctrlr.cxx
parent9fc4553b6433fbb6565a5b946c4256c0bfe345f1 (diff)
fdo#46808, Convert connectivity::SQLError to use XComponentContext...
...instead of comphelper::ComponentContext. Change-Id: I40384c2d7cfcabd06506321d686dd8e7c7c5f266
Diffstat (limited to 'dbaccess/source/ui/browser/brwctrlr.cxx')
-rw-r--r--dbaccess/source/ui/browser/brwctrlr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index ccd75ae01d0d..fc7237eb1f24 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -697,7 +697,7 @@ void SbaXDataBrowserController::onStartLoading( const Reference< XLoadable >& _r
// -----------------------------------------------------------------------------
void SbaXDataBrowserController::impl_checkForCannotSelectUnfiltered( const SQLExceptionInfo& _rError )
{
- ::connectivity::SQLError aError( getORB() );
+ ::connectivity::SQLError aError( comphelper::getComponentContext(getORB()) );
::connectivity::ErrorCode nErrorCode( aError.getErrorCode( ErrorCondition::DATA_CANNOT_SELECT_UNFILTERED ) );
if ( ((const SQLException*)_rError)->ErrorCode == nErrorCode )
{