summaryrefslogtreecommitdiffstats
path: root/include/sfx2/itemwrapper.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-09-20 07:27:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-09-20 08:37:20 +0200
commitcc2fe8c763b7050f07968f31bcdb7e45b8c7464d (patch)
tree499b8644a21d45f1317cfb9fc891e2f6d683802b /include/sfx2/itemwrapper.hxx
parenttdf#108402: avoid crash if filter doesn't match (diff)
downloadcore-cc2fe8c763b7050f07968f31bcdb7e45b8c7464d.tar.gz
core-cc2fe8c763b7050f07968f31bcdb7e45b8c7464d.zip
Replace SAL_OVERRIDE with override in internal code
Change-Id: Ifa446647b11fd1f1b0dc6a991b752480545634db Reviewed-on: https://gerrit.libreoffice.org/60788 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/sfx2/itemwrapper.hxx')
-rw-r--r--include/sfx2/itemwrapper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/itemwrapper.hxx b/include/sfx2/itemwrapper.hxx
index 3f1bf7c5eb9f..7907da7ad6af 100644
--- a/include/sfx2/itemwrapper.hxx
+++ b/include/sfx2/itemwrapper.hxx
@@ -133,9 +133,9 @@ public:
explicit ValueItemWrapper( sal_uInt16 nSlot ) :
SingleItemWrapper< ItemT, ValueT >( nSlot ) {}
- virtual ValueT GetItemValue( const ItemT& rItem ) const SAL_OVERRIDE
+ virtual ValueT GetItemValue( const ItemT& rItem ) const override
{ return static_cast< ValueT >( rItem.GetValue() ); }
- virtual void SetItemValue( ItemT& rItem, ValueT aValue ) const SAL_OVERRIDE
+ virtual void SetItemValue( ItemT& rItem, ValueT aValue ) const override
{ rItem.SetValue( static_cast< InternalValueT >( aValue ) ); }
};