diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-29 12:40:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-29 15:08:43 +0200 |
commit | 34180700b2686c97cdce0b52ca9578a41a153035 (patch) | |
tree | 073f3753e4483f30efa3c7c769f23971e6a046d5 /dbaccess | |
parent | e710170d906fcb248a5e4ff5a3a90cbf0e20003d (diff) |
loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/DriverSettings.hxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/ConnectionLineData.hxx | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/TableWindow.hxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/WCPage.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/dbwiz.hxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/dbwizsetup.hxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/indexcollection.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/indexdialog.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/indexfieldscontrol.hxx | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/propertysetitem.hxx | 3 |
10 files changed, 1 insertions, 21 deletions
diff --git a/dbaccess/source/ui/dlg/DriverSettings.hxx b/dbaccess/source/ui/dlg/DriverSettings.hxx index eec6a06da4e4..bb021857f951 100644 --- a/dbaccess/source/ui/dlg/DriverSettings.hxx +++ b/dbaccess/source/ui/dlg/DriverSettings.hxx @@ -43,10 +43,6 @@ namespace dbaui */ static void getSupportedIndirectSettings( const OUString& _sURLPrefix,const css::uno::Reference< css::uno::XComponentContext >& _xContext,::std::vector< sal_Int32>& _out_rDetailsIds ); - /** Creates the detail page for Dbase - */ - static VclPtr<SfxTabPage> CreateDbase2( vcl::Window* _pParent, const SfxItemSet* _rAttrSet ); - /** Creates the detail page for ado */ static VclPtr<SfxTabPage> CreateDbase( vcl::Window* _pParent, const SfxItemSet* _rAttrSet ); diff --git a/dbaccess/source/ui/inc/ConnectionLineData.hxx b/dbaccess/source/ui/inc/ConnectionLineData.hxx index 629982e08086..901b9b32a690 100644 --- a/dbaccess/source/ui/inc/ConnectionLineData.hxx +++ b/dbaccess/source/ui/inc/ConnectionLineData.hxx @@ -65,9 +65,6 @@ namespace dbaui void SetSourceFieldName( const OUString& rSourceFieldName){ SetFieldName(JTCS_FROM, rSourceFieldName); } void SetDestFieldName( const OUString& rDestFieldName ){ SetFieldName(JTCS_TO, rDestFieldName); } - inline bool clearSourceFieldName() { SetSourceFieldName(OUString()); return true;} - inline bool clearDestFieldName() { SetDestFieldName(OUString()); return true;} - // member access (read) OUString GetFieldName(EConnectionSide nWhich) const { return (nWhich == JTCS_FROM) ? m_aSourceFieldName : m_aDestFieldName; } OUString GetSourceFieldName() const { return GetFieldName(JTCS_FROM); } diff --git a/dbaccess/source/ui/inc/TableWindow.hxx b/dbaccess/source/ui/inc/TableWindow.hxx index 4b8c8d5cb2cf..98cd998ec0ce 100644 --- a/dbaccess/source/ui/inc/TableWindow.hxx +++ b/dbaccess/source/ui/inc/TableWindow.hxx @@ -141,7 +141,6 @@ namespace dbaui void setActive(bool _bActive = true); void Remove(); - bool IsActiveWindow(){ return m_bActive; } OUString GetTableName() const { return m_pData->GetTableName(); } OUString GetWinName() const { return m_pData->GetWinName(); } diff --git a/dbaccess/source/ui/inc/WCPage.hxx b/dbaccess/source/ui/inc/WCPage.hxx index 80256e7e0d7e..4c9931d4d477 100644 --- a/dbaccess/source/ui/inc/WCPage.hxx +++ b/dbaccess/source/ui/inc/WCPage.hxx @@ -70,9 +70,7 @@ namespace dbaui bool IsOptionDefData() const { return m_pRB_DefData->IsChecked(); } bool IsOptionDef() const { return m_pRB_Def->IsChecked(); } - bool IsOptionAppendData() const { return m_pRB_AppendData->IsChecked(); } bool IsOptionView() const { return m_pRB_View->IsChecked(); } - bool UseHeaderLine() const { return m_pCB_UseHeaderLine->IsChecked(); } OUString GetKeyName() const { return m_pEdKeyName->GetText(); } void setCreateStyleAction(); diff --git a/dbaccess/source/ui/inc/dbwiz.hxx b/dbaccess/source/ui/inc/dbwiz.hxx index b9139c914256..6f5af9e5fe2b 100644 --- a/dbaccess/source/ui/inc/dbwiz.hxx +++ b/dbaccess/source/ui/inc/dbwiz.hxx @@ -101,7 +101,6 @@ protected: virtual bool onFinish() SAL_OVERRIDE; protected: - inline bool isUIEnabled() const { return m_bUIEnabled; } inline void disabledUI() { m_bUIEnabled = false; } /// select a datasource with a given name, adjust the item set accordingly, and everything like that .. diff --git a/dbaccess/source/ui/inc/dbwizsetup.hxx b/dbaccess/source/ui/inc/dbwizsetup.hxx index 8d48e2d48013..2fea8fb54c16 100644 --- a/dbaccess/source/ui/inc/dbwizsetup.hxx +++ b/dbaccess/source/ui/inc/dbwizsetup.hxx @@ -135,7 +135,6 @@ protected: virtual bool onFinish() SAL_OVERRIDE; protected: - inline bool isUIEnabled() const { return m_bUIEnabled; } inline void disabledUI() { m_bUIEnabled = false; } /// select a datasource with a given name, adjust the item set accordingly, and everything like that .. diff --git a/dbaccess/source/ui/inc/indexcollection.hxx b/dbaccess/source/ui/inc/indexcollection.hxx index 5d43d8fb6451..3366a77f27f1 100644 --- a/dbaccess/source/ui/inc/indexcollection.hxx +++ b/dbaccess/source/ui/inc/indexcollection.hxx @@ -80,8 +80,6 @@ namespace dbaui // detach from the container void detach(); - // is the object valid? - bool isValid() const { return m_xIndexes.is(); } // number of contained indexes sal_Int32 size() const { return m_aIndexes.size(); } diff --git a/dbaccess/source/ui/inc/indexdialog.hxx b/dbaccess/source/ui/inc/indexdialog.hxx index 1519113fc344..454f1f8c97c3 100644 --- a/dbaccess/source/ui/inc/indexdialog.hxx +++ b/dbaccess/source/ui/inc/indexdialog.hxx @@ -51,10 +51,8 @@ namespace dbaui DbaIndexList(vcl::Window* _pParent, WinBits nWinBits); void SetSelectHdl(const Link<DbaIndexList&,void>& _rHdl) { m_aSelectHdl = _rHdl; } - Link<DbaIndexList&,void> GetSelectHdl() const { return m_aSelectHdl; } void SetEndEditHdl(const Link<SvTreeListEntry*,bool>& _rHdl) { m_aEndEditHdl = _rHdl; } - Link<SvTreeListEntry*,bool> GetEndEditHdl() const { return m_aEndEditHdl; } virtual bool Select(SvTreeListEntry* pEntry, bool bSelect) SAL_OVERRIDE; diff --git a/dbaccess/source/ui/inc/indexfieldscontrol.hxx b/dbaccess/source/ui/inc/indexfieldscontrol.hxx index bb4d2421f987..53229d06ed56 100644 --- a/dbaccess/source/ui/inc/indexfieldscontrol.hxx +++ b/dbaccess/source/ui/inc/indexfieldscontrol.hxx @@ -47,7 +47,7 @@ namespace dbaui OUString m_sDescendingText; sal_Int32 m_nMaxColumnsInIndex; - bool m_bAddIndexAppendix; + bool m_bAddIndexAppendix; public: IndexFieldsControl( vcl::Window* _pParent, WinBits nWinStyle); @@ -66,7 +66,6 @@ namespace dbaui void SaveValue() { m_aSavedValue = m_aFields; } void SetModifyHdl(const Link<>& _rHdl) { m_aModifyHdl = _rHdl; } - Link<> GetModifyHdl() const { return m_aModifyHdl; } virtual OUString GetCellText(long _nRow,sal_uInt16 nColId) const SAL_OVERRIDE; protected: diff --git a/dbaccess/source/ui/inc/propertysetitem.hxx b/dbaccess/source/ui/inc/propertysetitem.hxx index fc310a3b682d..0c8c49f7462b 100644 --- a/dbaccess/source/ui/inc/propertysetitem.hxx +++ b/dbaccess/source/ui/inc/propertysetitem.hxx @@ -42,9 +42,6 @@ namespace dbaui virtual bool operator==(const SfxPoolItem& _rItem) const SAL_OVERRIDE; virtual SfxPoolItem* Clone(SfxItemPool* _pPool = NULL) const SAL_OVERRIDE; - - css::uno::Reference< css::beans::XPropertySet > - getPropertySet() const { return m_xSet; } }; } // namespace dbaui |