diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-03-13 14:27:59 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-03-13 15:59:02 +0100 |
commit | d94ecd7dd0c6db19305d7999852eeb8e869f9a46 (patch) | |
tree | a6e601fdcbb557bed583e662b17d3923d72f8283 /connectivity/source/drivers/writer/WTable.cxx | |
parent | e9ce7acaf5cc87a4fb40f12ea0aac8cb9df3562f (diff) |
connectivity Writer driver: use auto when initializing with new to avoid ...
... duplicating the type name
Change-Id: I12b2302c4316b3ec1f22df366100c3b2a4d87454
Reviewed-on: https://gerrit.libreoffice.org/69173
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'connectivity/source/drivers/writer/WTable.cxx')
-rw-r--r-- | connectivity/source/drivers/writer/WTable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/writer/WTable.cxx b/connectivity/source/drivers/writer/WTable.cxx index 5e5320540ee4..d21943653f12 100644 --- a/connectivity/source/drivers/writer/WTable.cxx +++ b/connectivity/source/drivers/writer/WTable.cxx @@ -170,7 +170,7 @@ void OWriterTable::fillColumns() aCase); } - sdbcx::OColumn* pColumn = new sdbcx::OColumn( + auto pColumn = new sdbcx::OColumn( aAlias, aTypeName, OUString(), OUString(), sdbc::ColumnValue::NULLABLE, nPrecision, nDecimals, eType, false, false, bCurrency, bStoresMixedCaseQuotedIdentifiers, m_CatalogName, getSchema(), getName()); |