summaryrefslogtreecommitdiff
path: root/forms/source/component/ListBox.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-01 17:32:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-02 10:56:53 +0100
commit570eed8ce4761cea0aa74efc85c182bc4af45493 (patch)
tree138f034ae9b9c10ed4959f3445aeb9b14153a0df /forms/source/component/ListBox.hxx
parentbcb5a3121d089c059b0293c4402c3617bbe3d131 (diff)
loplugin:finalclasses in forms
Change-Id: I0f849fd104699e2861aaba2d4be38168e80703b0 Reviewed-on: https://gerrit.libreoffice.org/44189 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source/component/ListBox.hxx')
-rw-r--r--forms/source/component/ListBox.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx
index 2a0f76e669d1..d0c9173e2468 100644
--- a/forms/source/component/ListBox.hxx
+++ b/forms/source/component/ListBox.hxx
@@ -97,7 +97,7 @@ namespace frm
typedef ::std::vector< ::connectivity::ORowSetValue > ValueList;
-class OListBoxModel :public OBoundControlModel
+class OListBoxModel final :public OBoundControlModel
,public OEntryListHelper
,public OErrorBroadcaster
{
@@ -145,7 +145,7 @@ public:
virtual sal_Bool SAL_CALL convertFastPropertyValue(
css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue ) override;
-protected:
+private:
static const ::connectivity::ORowSetValue s_aEmptyValue;
static const ::connectivity::ORowSetValue s_aEmptyStringValue;
@@ -177,7 +177,6 @@ protected:
using OBoundControlModel::getFastPropertyValue;
using OBoundControlModel::setPropertyValues;
-protected:
// OBoundControlModel overridables
virtual css::uno::Any translateDbColumnToControlValue( ) override;
virtual css::uno::Sequence< css::uno::Type >
@@ -201,7 +200,6 @@ protected:
virtual void disconnectedExternalListSource( ) override;
virtual void refreshInternalEntryList() override;
-protected:
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override;
void init();
@@ -214,8 +212,6 @@ protected:
const ::connectivity::ORowSetValue &aValue)
const;
-
-private:
void loadData( bool _bForce );
/** refreshes the list boxes list data