Kaydet (Commit) a60ce288 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: overriding virtual function declaration not marked 'override'

CppunitTest_configmgr_unit fails, though, so I did not uncomment it in
Module_configmgr.mk. Presumably one would need to look in the old
configmgr/qa/unit/makefile.mk to find out how to run it.

Change-Id: Id368fd94076f873bfdd34f1829d6a009daa7fa84
üst 42a78549
...@@ -76,8 +76,8 @@ void normalize( ...@@ -76,8 +76,8 @@ void normalize(
class Test: public CppUnit::TestFixture { class Test: public CppUnit::TestFixture {
public: public:
virtual void setUp(); virtual void setUp() SAL_OVERRIDE;
virtual void tearDown(); virtual void tearDown() SAL_OVERRIDE;
void testKeyFetch(); void testKeyFetch();
void testKeySet(); void testKeySet();
...@@ -129,7 +129,7 @@ protected: ...@@ -129,7 +129,7 @@ protected:
virtual bool iteration() = 0; virtual bool iteration() = 0;
private: private:
virtual void SAL_CALL run(); virtual void SAL_CALL run() SAL_OVERRIDE;
osl::Condition & stop_; osl::Condition & stop_;
bool success_; bool success_;
...@@ -165,7 +165,7 @@ public: ...@@ -165,7 +165,7 @@ public:
OUString const & relative); OUString const & relative);
private: private:
virtual bool iteration(); virtual bool iteration() SAL_OVERRIDE;
Test const & test_; Test const & test_;
OUString path_; OUString path_;
...@@ -192,7 +192,7 @@ public: ...@@ -192,7 +192,7 @@ public:
OUString const & relative); OUString const & relative);
private: private:
virtual bool iteration(); virtual bool iteration() SAL_OVERRIDE;
Test const & test_; Test const & test_;
OUString path_; OUString path_;
...@@ -237,11 +237,11 @@ protected: ...@@ -237,11 +237,11 @@ protected:
private: private:
virtual void SAL_CALL disposing(css::lang::EventObject const &) virtual void SAL_CALL disposing(css::lang::EventObject const &)
throw (css::uno::RuntimeException); throw (css::uno::RuntimeException) SAL_OVERRIDE;
virtual void SAL_CALL propertyChange( virtual void SAL_CALL propertyChange(
css::beans::PropertyChangeEvent const &) css::beans::PropertyChangeEvent const &)
throw (css::uno::RuntimeException); throw (css::uno::RuntimeException) SAL_OVERRIDE;
int count_; int count_;
bool * destroyed_; bool * destroyed_;
...@@ -295,7 +295,7 @@ public: ...@@ -295,7 +295,7 @@ public:
SimpleRecursiveTest(Test const & theTest, int count, bool * destroyed); SimpleRecursiveTest(Test const & theTest, int count, bool * destroyed);
private: private:
virtual void step() const; virtual void step() const SAL_OVERRIDE;
}; };
SimpleRecursiveTest::SimpleRecursiveTest( SimpleRecursiveTest::SimpleRecursiveTest(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment