[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - include/svx

Jan-Marek Glogowski glogow at fbihome.de
Sat Oct 24 09:55:49 UTC 2015


 include/svx/sdtacitm.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a3b56a4f3eb55fad4bf10589a0acbc7879429cdd
Author: Jan-Marek Glogowski <glogow at fbihome.de>
Date:   Fri Oct 23 21:00:46 2015 +0200

    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 at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/include/svx/sdtacitm.hxx b/include/svx/sdtacitm.hxx
index 23c7149..a14ba85 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); }
 };
 


More information about the Libreoffice-commits mailing list