summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2015-10-23 21:00:46 +0200
committerAndras Timar <andras.timar@collabora.com>2015-10-26 16:04:11 +0100
commit37e2d3fa305849f63f36afe31c43d3ec9f9bf407 (patch)
tree0d44abbe800cbd2aa61f774ccc7ce6af90a4b073 /include
parentcrashtesting+ubsan: kde170880-1.html bad cast to SdrTextAniCountItem (diff)
downloadcore-37e2d3fa305849f63f36afe31c43d3ec9f9bf407.tar.gz
core-37e2d3fa305849f63f36afe31c43d3ec9f9bf407.zip
Use SAL_OVERRIDE for override
Otherwise build breaks on gcc 4.6. Change-Id: I9f0d94448e31e8b61b271fc088f0ce74128c375b Reviewed-on: https://gerrit.libreoffice.org/19564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit a3b56a4f3eb55fad4bf10589a0acbc7879429cdd)
Diffstat (limited to 'include')
-rw-r--r--include/svx/sdtacitm.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/sdtacitm.hxx b/include/svx/sdtacitm.hxx
index 23c71492cc6f..a14ba85cefa5 100644
--- a/include/svx/sdtacitm.hxx
+++ b/include/svx/sdtacitm.hxx
@@ -28,10 +28,10 @@ public:
SdrTextAniCountItem(sal_uInt16 nVal=0): SfxUInt16Item(SDRATTR_TEXT_ANICOUNT,nVal) {}
SdrTextAniCountItem(SvStream& rIn): SfxUInt16Item(SDRATTR_TEXT_ANICOUNT,rIn) {}
- virtual SfxPoolItem * Create(SvStream & rStream, sal_uInt16) const override
+ virtual SfxPoolItem * Create(SvStream & rStream, sal_uInt16) const SAL_OVERRIDE
{ return new SdrTextAniCountItem(rStream); }
- virtual SfxPoolItem * Clone(SfxItemPool * = 0) const override
+ virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE
{ return new SdrTextAniCountItem(*this); }
};