summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/relationdesign
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
commit567ef6d5782cdb729b49005caf6005610ce03e22 (patch)
tree7e3be1da41382e555d9091914ef7e064852a4fd4 /dbaccess/source/ui/relationdesign
parentc36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (diff)
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
Diffstat (limited to 'dbaccess/source/ui/relationdesign')
-rw-r--r--dbaccess/source/ui/relationdesign/RTableConnection.hxx2
-rw-r--r--dbaccess/source/ui/relationdesign/RTableWindow.hxx2
-rw-r--r--dbaccess/source/ui/relationdesign/RelationController.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/relationdesign/RTableConnection.hxx b/dbaccess/source/ui/relationdesign/RTableConnection.hxx
index f51016694596..24339b521a23 100644
--- a/dbaccess/source/ui/relationdesign/RTableConnection.hxx
+++ b/dbaccess/source/ui/relationdesign/RTableConnection.hxx
@@ -35,7 +35,7 @@ namespace dbaui
ORelationTableConnection& operator=( const ORelationTableConnection& rConn );
- virtual void Draw( const Rectangle& rRect );
+ virtual void Draw( const Rectangle& rRect ) SAL_OVERRIDE;
using OTableConnection::Draw;
};
}
diff --git a/dbaccess/source/ui/relationdesign/RTableWindow.hxx b/dbaccess/source/ui/relationdesign/RTableWindow.hxx
index a4652145abe4..e315edb4ee36 100644
--- a/dbaccess/source/ui/relationdesign/RTableWindow.hxx
+++ b/dbaccess/source/ui/relationdesign/RTableWindow.hxx
@@ -33,7 +33,7 @@ namespace dbaui
@return
The composed name or the window name.
*/
- virtual OUString GetName() const { return GetComposedName(); }
+ virtual OUString GetName() const SAL_OVERRIDE { return GetComposedName(); }
};
}
#endif // INCLUDED_DBACCESS_SOURCE_UI_RELATIONDESIGN_RTABLEWINDOW_HXX
diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx
index 43c0f047a728..3b3b5f564d44 100644
--- a/dbaccess/source/ui/relationdesign/RelationController.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationController.cxx
@@ -300,8 +300,8 @@ namespace
}
/// Working method which should be overridden.
- virtual void SAL_CALL run();
- virtual void SAL_CALL onTerminated();
+ virtual void SAL_CALL run() SAL_OVERRIDE;
+ virtual void SAL_CALL onTerminated() SAL_OVERRIDE;
protected:
virtual ~RelationLoader(){}