Kaydet (Commit) a008a234 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedfields in dbaccess

Change-Id: I5f38bf33deaec17203e1bdcd3a61085266e42501
üst 004803c0
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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();
......
......@@ -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)
{
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment