summaryrefslogtreecommitdiff
path: root/include/svx/chrtitem.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-20 12:38:10 +0200
committerNoel Grandin <noel@peralex.com>2015-01-26 08:42:28 +0200
commitb44cbb26efe1d0b0950b1e1613e131b506dc3876 (patch)
tree9b4d5d99e5dad0971079b997a02a6d96536709ca /include/svx/chrtitem.hxx
parent26ad60aec69310fecd918f1c2e09056aa4782320 (diff)
new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
Diffstat (limited to 'include/svx/chrtitem.hxx')
-rw-r--r--include/svx/chrtitem.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/chrtitem.hxx b/include/svx/chrtitem.hxx
index 840df880c710..3371a15e2a07 100644
--- a/include/svx/chrtitem.hxx
+++ b/include/svx/chrtitem.hxx
@@ -312,7 +312,7 @@ public:
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
- virtual OUString GetValueText() const;
+ OUString GetValueText() const;
virtual bool GetPresentation(SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
@@ -323,10 +323,10 @@ public:
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVersion) const SAL_OVERRIDE;
virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const SAL_OVERRIDE;
- virtual double GetMin() const;
- virtual double GetMax() const;
+ double GetMin() const;
+ double GetMax() const;
- virtual SfxFieldUnit GetUnit() const;
+ SfxFieldUnit GetUnit() const;
double GetValue() const { return fVal; }
void SetValue(double fNewVal) { fVal = fNewVal; }