summaryrefslogtreecommitdiffstats
path: root/connectivity/source/parse
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-04 18:51:00 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-04 18:51:13 +0300
commit1967376c7b3072fefb6f74566cfa70fd03b9bd04 (patch)
treebf9d933dfe81f67b986937a7efd992d7619328a1 /connectivity/source/parse
parentWaE: unreachable code (diff)
downloadcore-1967376c7b3072fefb6f74566cfa70fd03b9bd04.tar.gz
core-1967376c7b3072fefb6f74566cfa70fd03b9bd04.zip
WaE: deletion of pointer to incomplete type; no destructor called
Move the struct OSQLParser_Data definition to the sqlparse.hxx header. A somewhat ugly workaround for warning C4150: deletion of pointer to incomplete type 'connectivity::OSQLParser_Data'; no destructor called.
Diffstat (limited to 'connectivity/source/parse')
-rw-r--r--connectivity/source/parse/sqlnode.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index 599128dd5936..f9789002828f 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -68,7 +68,6 @@
#include <comphelper/stl_types.hxx>
#include "connectivity/dbtools.hxx"
#include "connectivity/dbmetadata.hxx"
-#include "connectivity/sqlerror.hxx"
#include <tools/diagnose_ex.h>
#include <string.h>
#include <boost/bind.hpp>
@@ -154,18 +153,6 @@ namespace connectivity
{
//=============================================================================
-struct OSQLParser_Data
-{
- ::com::sun::star::lang::Locale aLocale;
- ::connectivity::SQLError aErrors;
-
- OSQLParser_Data( const Reference< XMultiServiceFactory >& _xServiceFactory )
- :aErrors( _xServiceFactory )
- {
- }
-};
-
-//=============================================================================
//= SQLParseNodeParameter
//=============================================================================
//-----------------------------------------------------------------------------