summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-03 12:57:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-03 16:34:31 +0200
commit09f77e8ed51fc64fccc6a14e87eed48b2f15a28d (patch)
tree2446785df473c004b44bbf03f8eb76584868a1e6 /dbaccess
parentf29aa28100b899252a3419578be5d39e84863c36 (diff)
loplugin:unusedmethods
Change-Id: I9790d053248ae6bd58ecc026c774014c4e5e04aa Reviewed-on: https://gerrit.libreoffice.org/80115 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/FieldDescControl.cxx12
-rw-r--r--dbaccess/source/ui/inc/FieldDescControl.hxx3
2 files changed, 0 insertions, 15 deletions
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx
index 59b3c6cf7c82..643c327b753d 100644
--- a/dbaccess/source/ui/control/FieldDescControl.cxx
+++ b/dbaccess/source/ui/control/FieldDescControl.cxx
@@ -178,18 +178,6 @@ void OFieldDescControl::Init()
::dbaui::setEvalDateFormatForFormatter(xFormatter);
}
-sal_uInt16 OFieldDescControl::CountActiveAggregates() const
-{
- OWidgetBase* ppAggregates[] = { m_xRequired.get(), m_xNumType.get(), m_xAutoIncrement.get(), m_xDefault.get(), m_xTextLen.get(), m_xLength.get(), m_xScale.get(), m_xColumnName.get(), m_xType.get(),m_xAutoIncrementValue.get()};
- sal_uInt16 nVisibleAggregates = 0;
- for (OWidgetBase* pAggregate : ppAggregates)
- if (pAggregate)
- ++nVisibleAggregates;
- if (m_xFormat)
- ++nVisibleAggregates;
- return nVisibleAggregates;
-}
-
void OFieldDescControl::SetReadOnly( bool bReadOnly )
{
// Enable/disable Controls
diff --git a/dbaccess/source/ui/inc/FieldDescControl.hxx b/dbaccess/source/ui/inc/FieldDescControl.hxx
index cd247af88380..522debaad3a3 100644
--- a/dbaccess/source/ui/inc/FieldDescControl.hxx
+++ b/dbaccess/source/ui/inc/FieldDescControl.hxx
@@ -131,14 +131,11 @@ namespace dbaui
protected:
void setRightAligned() { m_bRightAligned = true; }
- bool isRightAligned() const { return m_bRightAligned; }
void saveCurrentFieldDescData() { SaveData( pActFieldDescr ); }
OFieldDescription* getCurrentFieldDescData() { return pActFieldDescr; }
void setCurrentFieldDescData( OFieldDescription* _pDesc ) { pActFieldDescr = _pDesc; }
- sal_uInt16 CountActiveAggregates() const;
-
virtual void ActivateAggregate( EControlType eType );
virtual void DeactivateAggregate( EControlType eType );
virtual bool IsReadOnly() { return false; };