summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/uno/ColumnControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/uno/ColumnControl.cxx')
-rw-r--r--dbaccess/source/ui/uno/ColumnControl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/uno/ColumnControl.cxx b/dbaccess/source/ui/uno/ColumnControl.cxx
index 77a4c50e6..be6a0a717 100644
--- a/dbaccess/source/ui/uno/ColumnControl.cxx
+++ b/dbaccess/source/ui/uno/ColumnControl.cxx
@@ -50,7 +50,7 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::sdbc;
OColumnControl::OColumnControl(const Reference<XMultiServiceFactory>& _rxFactory)
-: m_xORB(_rxFactory)
+ :UnoControl( _rxFactory )
{
}
// -----------------------------------------------------------------------------
@@ -76,7 +76,7 @@ void SAL_CALL OColumnControl::createPeer(const Reference< XToolkit >& /*rToolkit
pParentWin = pParent->GetWindow();
}
- OColumnPeer* pPeer = new OColumnPeer(pParentWin,m_xORB);
+ OColumnPeer* pPeer = new OColumnPeer( pParentWin, maContext.getLegacyServiceFactory() );
OSL_ENSURE(pPeer != NULL, "FmXGridControl::createPeer : imp_CreatePeer didn't return a peer !");
setPeer( pPeer );