summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2015-01-28 18:24:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-02-12 10:09:04 +0000
commit97b11a21b64f4bac5af67819549f6e384d61c086 (patch)
treee1270ebb86afa36e2465f41039c2ade02037e453 /include
parent120f748e81aefa863d6c425b85563dbbb70ae4c1 (diff)
Query Design: use correct name for columns that come from another query.
Change-Id: I25b4ccdc2f50ba89687e1f4c871f286251a28e21 Reviewed-on: https://gerrit.libreoffice.org/14344 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/connectivity/sqlparse.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/connectivity/sqlparse.hxx b/include/connectivity/sqlparse.hxx
index f6a7b0f4043b..78888998f7f7 100644
--- a/include/connectivity/sqlparse.hxx
+++ b/include/connectivity/sqlparse.hxx
@@ -191,9 +191,12 @@ namespace connectivity
bool bInternational = false);
// Check a Predicate
+ // set bUseRealName to false if you pass a xField that comes from where you got that field,
+ // as opposed from to from yourself.
OSQLParseNode* predicateTree(OUString& rErrorMessage, const OUString& rStatement,
const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter > & xFormatter,
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & xField);
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & xField,
+ bool bUseRealName = true);
// Access to the context
const IParseContext& getContext() const {return *m_pContext;}