svx: remove entirely gratuitous dependency on sqlparse.hxx

... caused by stupidly referring to a class member by its subclass.

Change-Id: Icdf7d7953a69d10b62ee78740e42bfe722bdc65b
This commit is contained in:
Michael Stahl
2013-05-13 17:17:49 +02:00
parent a362a94b6b
commit 41cc83d7d6
3 changed files with 2 additions and 3 deletions

View File

@@ -34,7 +34,6 @@ $(eval $(call gb_Library_set_include,svxcore,\
-I$(SRCDIR)/svx/source/inc \
$$(INCLUDE) \
-I$(WORKDIR)/SdiTarget/svx/sdi \
-I$(WORKDIR)/YaccTarget/connectivity/source/parse \
))
$(eval $(call gb_Library_set_precompiled_header,svxcore,$(SRCDIR)/svx/inc/pch/precompiled_svxcore))

View File

@@ -76,6 +76,7 @@
#include <comphelper/flagguard.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <connectivity/IParseContext.hxx>
#include <toolkit/controls/unocontrol.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/debug.hxx>
@@ -3228,7 +3229,7 @@ void FormController::setFilter(::std::vector<FmFieldInfo>& rFieldInfos)
{
OUString aCompText = aRow[(*iter).xText];
aCompText += OUString(" ");
OString aVal = m_xParser->getContext().getIntlKeywordAscii(OParseContext::KEY_AND);
OString aVal = m_xParser->getContext().getIntlKeywordAscii(IParseContext::KEY_AND);
aCompText += OUString(aVal.getStr(),aVal.getLength(),RTL_TEXTENCODING_ASCII_US);
aCompText += OUString(" ");
aCompText += ::comphelper::getString(pRefValues[j].Value);

View File

@@ -71,7 +71,6 @@
#include <comphelper/componentcontext.hxx>
#include <comphelper/proparrhlp.hxx>
#include <comphelper/stl_types.hxx>
#include <connectivity/sqlparse.hxx>
#include <cppuhelper/propshlp.hxx>
#include <vcl/timer.hxx>