[Libreoffice-commits] core.git: sw/source
Julien Nabet
serval2412 at yahoo.fr
Sat Dec 26 23:47:00 PST 2015
sw/source/core/unocore/unostyle.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 451f359023c681a91dbb232a5ea3fffb12c964bc
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Dec 27 08:44:54 2015 +0100
Fix TBs by adding some "override"
Perhaps a temporary fix, but at least, it should unblock some TBs
+ those who use --enable-werror
Change-Id: Id075e2539245a90b829f1816609dfe1ec65fe7b9
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 9a55dee..d7c084d 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -386,9 +386,9 @@ public:
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents( ) throw(css::uno::RuntimeException, std::exception) override;
//ICoreStyle
- virtual void SetItem(enum RES_FRMATR eAtr, const SfxPoolItem& rItem);
- virtual const SfxPoolItem* GetItem(enum RES_FRMATR eAtr);
- virtual css::document::XEventsSupplier& GetEventsSupplier()
+ virtual void SetItem(enum RES_FRMATR eAtr, const SfxPoolItem& rItem) override;
+ virtual const SfxPoolItem* GetItem(enum RES_FRMATR eAtr) override;
+ virtual css::document::XEventsSupplier& GetEventsSupplier() override
{ return *this; };
};
More information about the Libreoffice-commits
mailing list