summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-07 16:01:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-08 08:08:26 +0200
commit2675cbf042130f24fe7ea299b85b8f5f4794a667 (patch)
treeb1d84541f414f48447bf82e4c2667bf490dcff5a /connectivity
parent27cbca2c8dccbbb299621b49e5ffd836188202f0 (diff)
loplugin:singlevalfields
Change-Id: I8908479ecf513cdf2ecb4bcbe7c1078ef80671cf Reviewed-on: https://gerrit.libreoffice.org/40838 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/writer/WTable.cxx5
-rw-r--r--connectivity/source/inc/writer/WTable.hxx1
2 files changed, 2 insertions, 4 deletions
diff --git a/connectivity/source/drivers/writer/WTable.cxx b/connectivity/source/drivers/writer/WTable.cxx
index 5d3b7c2e7aef..c609bb242861 100644
--- a/connectivity/source/drivers/writer/WTable.cxx
+++ b/connectivity/source/drivers/writer/WTable.cxx
@@ -116,7 +116,7 @@ void OWriterTable::fillColumns()
sal_Int32 eType = sdbc::DataType::OTHER;
bool bCurrency = false;
- lcl_GetColumnInfo(m_xTable, m_nStartCol + i, m_nStartRow, m_bHasHeaders,
+ lcl_GetColumnInfo(m_xTable, m_nStartCol + i, 0, m_bHasHeaders,
aColumnName, eType, bCurrency);
sal_Int32 nPrecision = 0; //! ...
@@ -184,7 +184,6 @@ OWriterTable::OWriterTable(sdbcx::OCollection* _pTables, OWriterConnection* _pCo
CatalogName)
,m_pWriterConnection(_pConnection)
,m_nStartCol(0)
- ,m_nStartRow(0)
,m_nDataCols(0)
,m_bHasHeaders(false)
{
@@ -263,7 +262,7 @@ bool OWriterTable::fetchRow(OValueRefRow& _rRow, const OSQLColumns& _rCols,
{
if ((_rRow->get())[i]->isBound())
{
- lcl_SetValue((_rRow->get())[i]->get(), m_xTable, m_nStartCol, m_nStartRow, m_bHasHeaders,
+ lcl_SetValue((_rRow->get())[i]->get(), m_xTable, m_nStartCol, 0, m_bHasHeaders,
m_nFilePos, i);
}
}
diff --git a/connectivity/source/inc/writer/WTable.hxx b/connectivity/source/inc/writer/WTable.hxx
index 3b1fe9d09c8b..750a66b65df5 100644
--- a/connectivity/source/inc/writer/WTable.hxx
+++ b/connectivity/source/inc/writer/WTable.hxx
@@ -68,7 +68,6 @@ private:
css::uno::Reference< css::text::XTextTable > m_xTable;
OWriterConnection* m_pWriterConnection;
sal_Int32 m_nStartCol;
- sal_Int32 m_nStartRow;
sal_Int32 m_nDataCols;
bool m_bHasHeaders;
css::uno::Reference< css::util::XNumberFormats > m_xFormats;