summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-20 16:16:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-20 18:31:41 +0100
commit6ed374acf4b4ef11f7336d8bf04e9d9f245305d8 (patch)
treed63fa88f8b9a55d4f8e4552f55949cb755db69e1 /include/vcl
parente6da8c07dd5584b2d385cbd50f065fecb9b76038 (diff)
loplugin:unnecessaryvirtual
Change-Id: I47f0bfe8b1968ea33b0c20b06ef7d3eea3f29a61 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89116 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/field.hxx4
-rw-r--r--include/vcl/treelistbox.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index e5685f493520..d19546e9af5f 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -210,7 +210,7 @@ public:
sal_Int64 GetMin( FieldUnit eOutUnit ) const;
sal_Int64 GetBaseValue() const;
- virtual void SetValue( sal_Int64 nNewValue, FieldUnit eInUnit );
+ void SetValue( sal_Int64 nNewValue, FieldUnit eInUnit );
virtual void SetValue( sal_Int64 nValue ) override;
using NumericFormatter::SetUserValue;
void SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit );
@@ -227,7 +227,7 @@ protected:
SAL_DLLPRIVATE void ImplMetricReformat( const OUString& rStr, double& rValue, OUString& rOutStr );
virtual sal_Int64 GetValueFromString(const OUString& rStr) const override;
- virtual sal_Int64 GetValueFromStringUnit(const OUString& rStr, FieldUnit eOutUnit) const;
+ sal_Int64 GetValueFromStringUnit(const OUString& rStr, FieldUnit eOutUnit) const;
private:
OUString maCustomUnitText;
diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx
index b0a2c87cbc6a..f4f764d152b1 100644
--- a/include/vcl/treelistbox.hxx
+++ b/include/vcl/treelistbox.hxx
@@ -457,7 +457,7 @@ public:
virtual void DragFinished( sal_Int8 nDropAction );
virtual bool NotifyAcceptDrop( SvTreeListEntry* );
- virtual SvTreeListEntry* CloneEntry( SvTreeListEntry* pSource );
+ SvTreeListEntry* CloneEntry( SvTreeListEntry* pSource );
// Return value: TRISTATE_TRUE == Ok, TRISTATE_FALSE == Cancel, TRISTATE_INDET == Ok and Make visible moved entry
virtual TriState NotifyMoving(