diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-02-07 12:04:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-09 13:44:42 +0200 |
commit | 383e11040c2b329705d9f161576cf162390b52a7 (patch) | |
tree | 8d6dab417ea9836f991eafe6580eea0f2f3a5463 /connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx | |
parent | f1cb83cef59c3b1d5ee780e8916832483468fab7 (diff) |
sequence->vector in postgresql
Change-Id: I57bf8f4404df9f73d9a52c651c9f27784f10c937
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx index 8e8bdc56ce66..8e73c643f7d1 100644 --- a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx +++ b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx @@ -131,7 +131,8 @@ void IndexColumns::refresh() DisposeGuard disposeIt( rs ); Reference< XRow > xRow( rs , UNO_QUERY ); - m_values = Sequence< Any >( m_columns.getLength() ); + m_values.clear(); + m_values.resize( m_columns.getLength() ); while( rs->next() ) { |