summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-12 13:18:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-13 07:29:37 +0100
commite98bcfcc3cdad46620e3d59119b0ac262db88054 (patch)
tree102a618dd0eea76eb934473cf833d8cd1fc53578 /connectivity
parentc474fd56e1723002ce8e6388a74b902fdc8c5887 (diff)
loplugin:unusedfields in various
Change-Id: I4021ba6090bd3f42b0eb5ea1ec9bbf05d1594b35 Reviewed-on: https://gerrit.libreoffice.org/65054 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/calc/CTable.cxx2
-rw-r--r--connectivity/source/drivers/mork/MResultSet.cxx3
-rw-r--r--connectivity/source/drivers/mork/MResultSet.hxx1
-rw-r--r--connectivity/source/drivers/writer/WTable.cxx3
-rw-r--r--connectivity/source/inc/calc/CTable.hxx2
-rw-r--r--connectivity/source/inc/writer/WTable.hxx4
6 files changed, 0 insertions, 15 deletions
diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx
index 9aea3b9fa549..72997c72c615 100644
--- a/connectivity/source/drivers/calc/CTable.cxx
+++ b/connectivity/source/drivers/calc/CTable.cxx
@@ -499,8 +499,6 @@ void OCalcTable::fillColumns()
Reference< XPropertySet> xCol = pColumn;
m_aColumns->get().push_back(xCol);
m_aTypes.push_back(eType);
- m_aPrecisions.push_back(nPrecision);
- m_aScales.push_back(nDecimals);
}
}
diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx
index d8b7de04a0c1..c88785246cee 100644
--- a/connectivity/source/drivers/mork/MResultSet.cxx
+++ b/connectivity/source/drivers/mork/MResultSet.cxx
@@ -947,14 +947,11 @@ void OResultSet::fillRowData()
OSQLColumns::Vector::const_iterator aIter = m_xColumns->get().begin();
const OUString sPropertyName = OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_NAME);
OUString sName;
- m_aAttributeStrings.clear();
- m_aAttributeStrings.reserve(m_xColumns->get().size());
for (sal_Int32 i = 1; aIter != m_xColumns->get().end();++aIter, i++)
{
(*aIter)->getPropertyValue(sPropertyName) >>= sName;
SAL_INFO(
"connectivity.mork", "Query Columns : (" << i << ") " << sName);
- m_aAttributeStrings.push_back( sName );
}
// Generate Match Conditions for Query
diff --git a/connectivity/source/drivers/mork/MResultSet.hxx b/connectivity/source/drivers/mork/MResultSet.hxx
index 7f89d5f06623..dd329c3af25e 100644
--- a/connectivity/source/drivers/mork/MResultSet.hxx
+++ b/connectivity/source/drivers/mork/MResultSet.hxx
@@ -224,7 +224,6 @@ protected:
css::uno::Sequence< OUString> m_aColumnNames;
OValueRow m_aRow;
OValueRow m_aParameterRow;
- std::vector< OUString> m_aAttributeStrings;
sal_Int32 m_nParamIndex;
bool m_bIsAlwaysFalseQuery;
::rtl::Reference<OKeySet> m_pKeySet;
diff --git a/connectivity/source/drivers/writer/WTable.cxx b/connectivity/source/drivers/writer/WTable.cxx
index 91842be9e88d..1e847dfb9eb2 100644
--- a/connectivity/source/drivers/writer/WTable.cxx
+++ b/connectivity/source/drivers/writer/WTable.cxx
@@ -175,9 +175,6 @@ void OWriterTable::fillColumns()
m_CatalogName, getSchema(), getName());
uno::Reference<XPropertySet> xCol = pColumn;
m_aColumns->get().push_back(xCol);
- m_aTypes.push_back(eType);
- m_aPrecisions.push_back(nPrecision);
- m_aScales.push_back(nDecimals);
}
}
diff --git a/connectivity/source/inc/calc/CTable.hxx b/connectivity/source/inc/calc/CTable.hxx
index 1d9b6897813b..00e91ee7f095 100644
--- a/connectivity/source/inc/calc/CTable.hxx
+++ b/connectivity/source/inc/calc/CTable.hxx
@@ -43,8 +43,6 @@ namespace connectivity
{
private:
std::vector<sal_Int32> m_aTypes; // holds all type for columns just to avoid to ask the propertyset
- std::vector<sal_Int32> m_aPrecisions; // same as aboth
- std::vector<sal_Int32> m_aScales;
css::uno::Reference< css::sheet::XSpreadsheet > m_xSheet;
OCalcConnection* m_pCalcConnection;
sal_Int32 m_nStartCol;
diff --git a/connectivity/source/inc/writer/WTable.hxx b/connectivity/source/inc/writer/WTable.hxx
index d8cef045f581..27c77f2dbf7a 100644
--- a/connectivity/source/inc/writer/WTable.hxx
+++ b/connectivity/source/inc/writer/WTable.hxx
@@ -60,10 +60,6 @@ class OWriterConnection;
class OWriterTable : public OWriterTable_BASE
{
private:
- std::vector<sal_Int32>
- m_aTypes; // holds all type for columns just to avoid to ask the propertyset
- std::vector<sal_Int32> m_aPrecisions; // same as aboth
- std::vector<sal_Int32> m_aScales;
css::uno::Reference<css::text::XTextTable> m_xTable;
OWriterConnection* m_pWriterConnection;
sal_Int32 m_nStartCol;