diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-26 21:13:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-27 16:37:15 +0200 |
commit | ce89c11c5aa2e01f9827da199c68ab9803e6013e (patch) | |
tree | edbc6e148b44e5bf5de82df202bfac1a4b036f07 /include | |
parent | c364532e6b06391a0584f58142c2366d28c803dd (diff) |
pass the column names in as an external argument
Change-Id: I14ab9e6de0a704076a1c632b6b33aaeabdfc23d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122660
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/connectivity/sqliterator.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/connectivity/sqliterator.hxx b/include/connectivity/sqliterator.hxx index 6c529c69b37f..201b3129419f 100644 --- a/include/connectivity/sqliterator.hxx +++ b/include/connectivity/sqliterator.hxx @@ -108,7 +108,8 @@ namespace connectivity // get all the column names of m_aSelectColumns and return in a vector sorted by a UStringMixLess that's constructed from // isCaseSensitive() std::vector<OUString> getSelectColumnNames() const; - OUString getUniqueColumnName(const OUString & rColumnName) const; + // rColumnNames is expected to be sorted as returned by getSelectColumnNames + OUString getUniqueColumnName(const std::vector<OUString>& rColumnNames, const OUString & rColumnName) const; /** finds the column with a given name, belonging to a given table, in a given tables collection @param _rTables |