diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-07 16:28:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-27 08:20:43 +0000 |
commit | 644487a1152c7586a7f20c7f372572a71d8494d5 (patch) | |
tree | 683cdbd755ec1660e75f930e5be4cd6867e3e734 /include/sfx2/itemwrapper.hxx | |
parent | loplugin:unusedmethods (diff) | |
download | core-644487a1152c7586a7f20c7f372572a71d8494d5.tar.gz core-644487a1152c7586a7f20c7f372572a71d8494d5.zip |
loplugin:unusedmethods
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861
Reviewed-on: https://gerrit.libreoffice.org/19231
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sfx2/itemwrapper.hxx')
-rw-r--r-- | include/sfx2/itemwrapper.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/itemwrapper.hxx b/include/sfx2/itemwrapper.hxx index 594bcd4440ca..ed22fae42532 100644 --- a/include/sfx2/itemwrapper.hxx +++ b/include/sfx2/itemwrapper.hxx @@ -139,9 +139,9 @@ public: virtual ~ValueItemWrapper() {} - virtual ValueT GetItemValue( const ItemT& rItem ) const + virtual ValueT GetItemValue( const ItemT& rItem ) const SAL_OVERRIDE { return static_cast< ValueT >( rItem.GetValue() ); } - virtual void SetItemValue( ItemT& rItem, ValueT aValue ) const + virtual void SetItemValue( ItemT& rItem, ValueT aValue ) const SAL_OVERRIDE { rItem.SetValue( static_cast< InternalValueT >( aValue ) ); } }; @@ -164,9 +164,9 @@ public: virtual ~IdentItemWrapper() {} - virtual const ItemT& GetItemValue( const ItemT& rItem ) const + virtual const ItemT& GetItemValue( const ItemT& rItem ) const SAL_OVERRIDE { return rItem; } - virtual void SetItemValue( ItemT& rItem, const ItemT& rValue ) const + virtual void SetItemValue( ItemT& rItem, const ItemT& rValue ) const SAL_OVERRIDE { rItem = rValue; } }; |