summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/dbexchange.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/browser/dbexchange.cxx')
-rw-r--r--dbaccess/source/ui/browser/dbexchange.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/browser/dbexchange.cxx b/dbaccess/source/ui/browser/dbexchange.cxx
index fa2abaa9906d..6bf1451b9760 100644
--- a/dbaccess/source/ui/browser/dbexchange.cxx
+++ b/dbaccess/source/ui/browser/dbexchange.cxx
@@ -29,6 +29,7 @@
#include <comphelper/uno3.hxx>
#include <svx/dataaccessdescriptor.hxx>
#include "UITools.hxx"
+#include <comphelper/processfactory.hxx>
namespace dbaui
@@ -128,7 +129,7 @@ namespace dbaui
if ( xConnection.is() && i_rORB.is() )
{
- Reference< XNumberFormatter > xFormatter( getNumberFormatter( xConnection, i_rORB ) );
+ Reference< XNumberFormatter > xFormatter( getNumberFormatter( xConnection, comphelper::getComponentContext(i_rORB) ) );
if ( xFormatter.is() )
{
m_pHtml.set( new OHTMLImportExport( getDescriptor(), i_rORB, xFormatter ) );