summaryrefslogtreecommitdiff
path: root/include/vcl/lazydelete.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /include/vcl/lazydelete.hxx
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff)
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'include/vcl/lazydelete.hxx')
-rw-r--r--include/vcl/lazydelete.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/lazydelete.hxx b/include/vcl/lazydelete.hxx
index 94814afe0563..0f0197ee94fa 100644
--- a/include/vcl/lazydelete.hxx
+++ b/include/vcl/lazydelete.hxx
@@ -238,7 +238,7 @@ namespace vcl
class DeleteOnDeinit : public DeleteOnDeinitBase
{
T* m_pT;
- virtual void doCleanup() { delete m_pT; m_pT = NULL; }
+ virtual void doCleanup() SAL_OVERRIDE { delete m_pT; m_pT = NULL; }
public:
DeleteOnDeinit( T* i_pT ) : m_pT( i_pT ) { addDeinitContainer( this ); }
virtual ~DeleteOnDeinit() {}
@@ -271,7 +271,7 @@ namespace vcl
class DeleteUnoReferenceOnDeinit : public ::vcl::DeleteOnDeinitBase
{
::com::sun::star::uno::Reference<I> m_xI;
- virtual void doCleanup() { set(NULL); }
+ virtual void doCleanup() SAL_OVERRIDE { set(NULL); }
public:
DeleteUnoReferenceOnDeinit(const ::com::sun::star::uno::Reference<I>& r_xI ) : m_xI( r_xI ) {
addDeinitContainer( this ); }