summaryrefslogtreecommitdiff
path: root/include/svx/fmgridif.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-16 16:54:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-17 09:09:33 +0200
commit9a831a6c19a30869782cfeb17f1c649a4ce4d9d9 (patch)
tree690a29bf99b90c18b2b7f8ce7829a9b932a2f0fc /include/svx/fmgridif.hxx
parentb3f094c2573de12bf3d386f19b924b536cb89af0 (diff)
remove no longer necessary operator new/delete overrides
and use "using" statements for the places where the overrides were resolving ambiguities Change-Id: Icb1d1a41f19e00f28a19947aa2c40bd5778fff94 Reviewed-on: https://gerrit.libreoffice.org/52993 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/fmgridif.hxx')
-rw-r--r--include/svx/fmgridif.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/svx/fmgridif.hxx b/include/svx/fmgridif.hxx
index fbec6ea6435f..546b4442cbd3 100644
--- a/include/svx/fmgridif.hxx
+++ b/include/svx/fmgridif.hxx
@@ -84,8 +84,8 @@ public:
virtual void SAL_CALL modified(const css::lang::EventObject& Source) override;
// resolve ambiguity : both OWeakObject and OInterfaceContainerHelper2 have these memory operators
- void * operator new( size_t size ) throw() { return OWeakSubObject::operator new(size); }
- void operator delete( void * p ) throw() { OWeakSubObject::operator delete(p); }
+ using OWeakSubObject::operator new;
+ using OWeakSubObject::operator delete;
};
@@ -109,8 +109,8 @@ public:
virtual void SAL_CALL updated(const css::lang::EventObject &) override;
// resolve ambiguity : both OWeakObject and OInterfaceContainerHelper2 have these memory operators
- void * operator new( size_t size ) throw() { return OWeakSubObject::operator new(size); }
- void operator delete( void * p ) throw() { OWeakSubObject::operator delete(p); }
+ using OWeakSubObject::operator new;
+ using OWeakSubObject::operator delete;
};
@@ -133,8 +133,8 @@ public:
virtual void SAL_CALL selectionChanged( const css::lang::EventObject& aEvent ) override;
// resolve ambiguity : both OWeakObject and OInterfaceContainerHelper2 have these memory operators
- void * operator new( size_t size ) throw() { return OWeakSubObject::operator new(size); }
- void operator delete( void * p ) throw() { OWeakSubObject::operator delete(p); }
+ using OWeakSubObject::operator new;
+ using OWeakSubObject::operator delete;
};
@@ -157,8 +157,8 @@ public:
virtual void SAL_CALL columnChanged( const css::lang::EventObject& _event ) override;
// resolve ambiguity : both OWeakObject and OInterfaceContainerHelper2 have these memory operators
- void * operator new( size_t size ) throw() { return OWeakSubObject::operator new(size); }
- void operator delete( void * p ) throw() { OWeakSubObject::operator delete(p); }
+ using OWeakSubObject::operator new;
+ using OWeakSubObject::operator delete;
};
@@ -182,8 +182,8 @@ public:
virtual void SAL_CALL elementReplaced(const css::container::ContainerEvent& Event) override;
// resolve ambiguity : both OWeakObject and OInterfaceContainerHelper2 have these memory operators
- void * operator new( size_t size ) throw() { return OWeakSubObject::operator new(size); }
- void operator delete( void * p ) throw() { OWeakSubObject::operator delete(p); }
+ using OWeakSubObject::operator new;
+ using OWeakSubObject::operator delete;
};