summaryrefslogtreecommitdiff
path: root/svx/source/form/sqlparserclient.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-09-27 10:26:33 +0000
committerOcke Janssen <oj@openoffice.org>2002-09-27 10:26:33 +0000
commita9dcd87448499e3d23f4b50c23a5ad6ee1641527 (patch)
tree2646bbabbdb4d774cab12c454f5add5c3c94e8d1 /svx/source/form/sqlparserclient.cxx
parentf7010ef1de93b7a7d7346c8b3c2a64a68642ada2 (diff)
#97230# new interface for ParseContext
Diffstat (limited to 'svx/source/form/sqlparserclient.cxx')
-rw-r--r--svx/source/form/sqlparserclient.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/svx/source/form/sqlparserclient.cxx b/svx/source/form/sqlparserclient.cxx
index 6aa7b0d3ee57..43381ada53fb 100644
--- a/svx/source/form/sqlparserclient.cxx
+++ b/svx/source/form/sqlparserclient.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sqlparserclient.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: fs $ $Date: 2002-09-12 14:15:52 $
+ * last change: $Author: oj $ $Date: 2002-09-27 11:21:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,7 @@
#ifndef SVX_SQLPARSERCLIENT_HXX
#include "sqlparserclient.hxx"
#endif
+#include "ParseContext.hxx"
//........................................................................
namespace svxform
@@ -86,7 +87,7 @@ namespace svxform
if (!getFactory().is())
ODbtoolsClient::create();
if (getFactory().is())
- m_xParser = getFactory()->createSQLParser(m_xORB);
+ m_xParser = getFactory()->createSQLParser(m_xORB,getParseContext());
}
//........................................................................
@@ -96,6 +97,9 @@ namespace svxform
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.2 2002/09/12 14:15:52 fs
+ * #97420# (on behalf of BerryJia@openoffice.org) lazy construction, to load the dbtools lib only if needed
+ *
* Revision 1.1 2001/07/25 13:35:31 fs
* initial checkin - base class for load-on-demand usage of the OSQLParser
*