summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2018-06-01 22:59:47 +0300
committerTor Lillqvist <tml@collabora.com>2018-06-03 09:38:42 +0200
commit62667aac83bd743fa98a5eaa946cc8088335f66c (patch)
treeaf4442622bdf7d417a55e69c72d2fe44bfd18f17 /dbaccess
parent10da3d817afd3f5d5c4f84cb814d56efc0678d43 (diff)
tdf#96099 Remove some trivial std::vector typedefs
Change-Id: I21171bd90b5e19fe8e5b8f2d125b6dfcb9a8b766 Reviewed-on: https://gerrit.libreoffice.org/55198 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/KeySet.cxx2
-rw-r--r--dbaccess/source/core/api/KeySet.hxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx
index 66bd473612e2..78c10485df14 100644
--- a/dbaccess/source/core/api/KeySet.cxx
+++ b/dbaccess/source/core/api/KeySet.cxx
@@ -333,7 +333,7 @@ void OKeySet::ensureStatement( )
{
// do we already have a statement for the current combination of NULLness
// of key & foreign columns?
- FilterColumnsNULL_t FilterColumnsNULL;
+ std::vector<bool> FilterColumnsNULL;
FilterColumnsNULL.reserve(m_aKeyIter->second.first->get().size());
for (auto const& elem : m_aKeyIter->second.first->get())
FilterColumnsNULL.push_back(elem.isNull());
diff --git a/dbaccess/source/core/api/KeySet.hxx b/dbaccess/source/core/api/KeySet.hxx
index 59c6dfccd5cb..0bd8a681beaa 100644
--- a/dbaccess/source/core/api/KeySet.hxx
+++ b/dbaccess/source/core/api/KeySet.hxx
@@ -93,8 +93,7 @@ namespace dbaccess
// of NULLness of key & foreign columns;
// each subclause is either "colName = ?" or "colName IS NULL"
// (we avoid the standard "colName IS NOT DISTINCT FROM ?" because it is not widely supported)
- typedef std::vector< bool > FilterColumnsNULL_t;
- typedef std::map< FilterColumnsNULL_t,
+ typedef std::map< std::vector<bool>,
css::uno::Reference< css::sdbc::XPreparedStatement > >
vStatements_t;
vStatements_t m_vStatements;