From 567ef6d5782cdb729b49005caf6005610ce03e22 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 27 Mar 2014 18:12:18 +0100 Subject: Second batch of adding SAL_OVERRIDE to overriding function declarations ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f --- sfx2/qa/cppunit/test_metadatable.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sfx2/qa') diff --git a/sfx2/qa/cppunit/test_metadatable.cxx b/sfx2/qa/cppunit/test_metadatable.cxx index 20ab115bab86..ad2c437ad303 100644 --- a/sfx2/qa/cppunit/test_metadatable.cxx +++ b/sfx2/qa/cppunit/test_metadatable.cxx @@ -44,8 +44,8 @@ class MetadatableTest : public ::CppUnit::TestFixture { public: - virtual void setUp(); - virtual void tearDown(); + virtual void setUp() SAL_OVERRIDE; + virtual void tearDown() SAL_OVERRIDE; void test(); @@ -79,12 +79,12 @@ public: bool m_bInClipboard; bool m_bInUndo; bool m_bInContent; - virtual bool IsInClipboard() const { return m_bInClipboard; } - virtual bool IsInUndo() const { return m_bInUndo; } - virtual bool IsInContent() const { return m_bInContent; } - virtual ::sfx2::IXmlIdRegistry& GetRegistry() { return m_rRegistry; } + virtual bool IsInClipboard() const SAL_OVERRIDE { return m_bInClipboard; } + virtual bool IsInUndo() const SAL_OVERRIDE { return m_bInUndo; } + virtual bool IsInContent() const SAL_OVERRIDE { return m_bInContent; } + virtual ::sfx2::IXmlIdRegistry& GetRegistry() SAL_OVERRIDE { return m_rRegistry; } virtual ::com::sun::star::uno::Reference< - ::com::sun::star::rdf::XMetadatable > MakeUnoObject() { return 0; } + ::com::sun::star::rdf::XMetadatable > MakeUnoObject() SAL_OVERRIDE { return 0; } }; static bool operator==(beans::StringPair p1, beans::StringPair p2) -- cgit