summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-22 16:09:14 +0200
committerNoel Grandin <noel@peralex.com>2015-12-23 08:13:54 +0200
commita008a234252d94b0f644d020ea75ade551fbc01a (patch)
treef240d822e07879a87435e2a3902b287215b3bd68
parent004803c0d8ac227e80afe4fba9ab8d0ea085f05d (diff)
loplugin:unusedfields in dbaccess
Change-Id: I5f38bf33deaec17203e1bdcd3a61085266e42501
-rw-r--r--dbaccess/source/core/api/CacheSet.hxx1
-rw-r--r--dbaccess/source/core/inc/SingleSelectQueryComposer.hxx1
-rw-r--r--dbaccess/source/ext/macromigration/migrationengine.cxx4
-rw-r--r--dbaccess/source/filter/xml/xmlExport.hxx1
-rw-r--r--dbaccess/source/filter/xml/xmlHelper.hxx1
-rw-r--r--dbaccess/source/filter/xml/xmlHierarchyCollection.cxx1
-rw-r--r--dbaccess/source/filter/xml/xmlHierarchyCollection.hxx1
-rw-r--r--dbaccess/source/filter/xml/xmlfilter.hxx1
-rw-r--r--dbaccess/source/ui/inc/DExport.hxx1
-rw-r--r--dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx1
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx2
11 files changed, 1 insertions, 14 deletions
diff --git a/dbaccess/source/core/api/CacheSet.hxx b/dbaccess/source/core/api/CacheSet.hxx
index e705edd7b815..5047fbcd9995 100644
--- a/dbaccess/source/core/api/CacheSet.hxx
+++ b/dbaccess/source/core/api/CacheSet.hxx
@@ -47,7 +47,6 @@ namespace dbaccess
css::uno::Sequence<sal_Bool> m_aNullable;
css::uno::Sequence<sal_Bool> m_aSignedFlags;
css::uno::Sequence<sal_Int32> m_aColumnTypes;
- ORowSetRow m_aInsertRow;
OUString m_aComposedTableName;
sal_Int32 m_nMaxRows;
bool m_bInserted;
diff --git a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx b/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx
index ab1137ae2b9d..c8e9552e7f46 100644
--- a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx
+++ b/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx
@@ -90,7 +90,6 @@ namespace dbaccess
css::uno::Reference< css::container::XNameAccess> m_xConnectionTables;
css::uno::Reference< css::container::XNameAccess> m_xConnectionQueries;
css::uno::Reference< css::util::XNumberFormatsSupplier > m_xNumberFormatsSupplier;
- css::uno::Reference< css::container::XNameAccess> m_xColumns;
css::uno::Reference< css::uno::XComponentContext> m_aContext;
css::uno::Reference< css::script::XTypeConverter > m_xTypeConverter;
diff --git a/dbaccess/source/ext/macromigration/migrationengine.cxx b/dbaccess/source/ext/macromigration/migrationengine.cxx
index a3170a20145e..219fef7a1e94 100644
--- a/dbaccess/source/ext/macromigration/migrationengine.cxx
+++ b/dbaccess/source/ext/macromigration/migrationengine.cxx
@@ -431,8 +431,7 @@ namespace dbmm
{
public:
explicit DrawPageIterator( const Reference< XModel >& _rxDocument )
- :m_xDocument( _rxDocument )
- ,m_nPageCount( 0 )
+ :m_nPageCount( 0 )
,m_nCurrentPage( 0 )
{
Reference< XDrawPageSupplier > xSingle( _rxDocument, UNO_QUERY );
@@ -471,7 +470,6 @@ namespace dbmm
}
private:
- const Reference< XModel > m_xDocument;
Reference< XDrawPage > m_xSinglePage;
Reference< XDrawPages > m_xMultiPages;
sal_Int32 m_nPageCount;
diff --git a/dbaccess/source/filter/xml/xmlExport.hxx b/dbaccess/source/filter/xml/xmlExport.hxx
index 8cc1187bebea..3f97629ca601 100644
--- a/dbaccess/source/filter/xml/xmlExport.hxx
+++ b/dbaccess/source/filter/xml/xmlExport.hxx
@@ -108,7 +108,6 @@ class ODBExport : public SvXMLExport
mutable rtl::Reference < XMLPropertySetMapper > m_xTableStylesPropertySetMapper;
mutable rtl::Reference < XMLPropertySetMapper > m_xColumnStylesPropertySetMapper;
mutable rtl::Reference < XMLPropertySetMapper > m_xCellStylesPropertySetMapper;
- mutable rtl::Reference < XMLPropertySetMapper > m_xRowStylesPropertySetMapper;
Reference<XPropertySet> m_xDataSource;
::dbaccess::ODsnTypeCollection m_aTypeCollection;
diff --git a/dbaccess/source/filter/xml/xmlHelper.hxx b/dbaccess/source/filter/xml/xmlHelper.hxx
index f06cbb49961c..349125cfcb75 100644
--- a/dbaccess/source/filter/xml/xmlHelper.hxx
+++ b/dbaccess/source/filter/xml/xmlHelper.hxx
@@ -39,7 +39,6 @@ namespace dbaxml
{
protected:
mutable ::std::unique_ptr<XMLConstantsPropertyHandler> m_pDisplayHandler;
- mutable ::std::unique_ptr<XMLPropertyHandler> m_pTextAlignHandler;
public:
OPropertyHandlerFactory();
virtual ~OPropertyHandlerFactory();
diff --git a/dbaccess/source/filter/xml/xmlHierarchyCollection.cxx b/dbaccess/source/filter/xml/xmlHierarchyCollection.cxx
index 8a0f5d039500..d0d6ce35a6d2 100644
--- a/dbaccess/source/filter/xml/xmlHierarchyCollection.cxx
+++ b/dbaccess/source/filter/xml/xmlHierarchyCollection.cxx
@@ -46,7 +46,6 @@ OXMLHierarchyCollection::OXMLHierarchyCollection( ODBFilter& rImport
,const OUString& _sCollectionServiceName
,const OUString& _sComponentServiceName) :
SvXMLImportContext( rImport, nPrfx, _sLocalName )
- ,m_xParentContainer(_xParentContainer)
,m_sCollectionServiceName(_sCollectionServiceName)
,m_sComponentServiceName(_sComponentServiceName)
{
diff --git a/dbaccess/source/filter/xml/xmlHierarchyCollection.hxx b/dbaccess/source/filter/xml/xmlHierarchyCollection.hxx
index f21b4f752d95..b56fab477fd5 100644
--- a/dbaccess/source/filter/xml/xmlHierarchyCollection.hxx
+++ b/dbaccess/source/filter/xml/xmlHierarchyCollection.hxx
@@ -29,7 +29,6 @@ namespace dbaxml
class ODBFilter;
class OXMLHierarchyCollection : public SvXMLImportContext
{
- css::uno::Reference< css::container::XNameAccess > m_xParentContainer;
css::uno::Reference< css::container::XNameAccess > m_xContainer;
css::uno::Reference< css::beans::XPropertySet > m_xTable;
OUString m_sName;
diff --git a/dbaccess/source/filter/xml/xmlfilter.hxx b/dbaccess/source/filter/xml/xmlfilter.hxx
index 650c40092c20..32df1c170c3e 100644
--- a/dbaccess/source/filter/xml/xmlfilter.hxx
+++ b/dbaccess/source/filter/xml/xmlfilter.hxx
@@ -63,7 +63,6 @@ private:
TPropertyNameMap m_aQuerySettings;
TPropertyNameMap m_aTablesSettings;
TInfoSequence m_aInfoSequence;
- Reference< XComponent > m_xSrcDoc;
mutable ::std::unique_ptr<SvXMLTokenMap> m_pDocElemTokenMap;
mutable ::std::unique_ptr<SvXMLTokenMap> m_pDatabaseElemTokenMap;
diff --git a/dbaccess/source/ui/inc/DExport.hxx b/dbaccess/source/ui/inc/DExport.hxx
index 4d3f18e8d14d..57920e6173ef 100644
--- a/dbaccess/source/ui/inc/DExport.hxx
+++ b/dbaccess/source/ui/inc/DExport.hxx
@@ -75,7 +75,6 @@ namespace dbaui
SharedConnection m_xConnection; ///< dest conn
std::shared_ptr<IUpdateHelper> m_pUpdateHelper;
- css::uno::Reference< css::sdbc::XResultSet > m_xResultSet;
css::uno::Reference< css::util::XNumberFormatter > m_xFormatter; ///< a number formatter working with the connection's NumberFormatsSupplier
css::uno::Reference< css::uno::XComponentContext> m_xContext;
css::util::Date m_aNullDate;
diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
index 17710da59276..1e14c3f75d03 100644
--- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
+++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
@@ -135,7 +135,6 @@ namespace dbaui
// </properties>
OUString m_sDataSourceName; // the data source we're working for
DataSourceHolder m_aDataSource;
- Reference< XModel > m_xDocument;
Reference< XNumberFormatter > m_xFormatter; // a number formatter working with the connection's NumberFormatsSupplier
sal_Int32 m_nDocStartNumber;
bool m_bSuspended; // is true when the controller was already suspended
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
index 64711312a660..3af7c69202d4 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
@@ -63,8 +63,6 @@ namespace dbaui
VclPtr< ::svt::ListBoxControl> m_pTableCell;
VclPtr< ::svt::ListBoxControl> m_pOrderCell;
- OTableFieldDescRef m_pEmptyEntry; // default entry in the list may reference more than once
-
sal_Int32 m_nMaxColumns; // maximum number of columns in a Select-Statement
OUString m_aFunctionStrings;