diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-11-29 00:49:26 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-11-29 16:49:51 +0100 |
commit | 0295bd6b3f21dd648af6145ca23d90467f3cec73 (patch) | |
tree | 9d483461133b9c1cf886ba0eee50d6a0ccc86fb9 /sd | |
parent | 2e1ab301c581992d76e25c767294f87c5f25da9c (diff) |
Remove exception spec from idl-generated c++ headers.
The general agreement in the project is that c++ exception
specs are pointless and add bloat in production code.
See also this rant for more background:
http://drdobbs.com/cpp/184401544
This removes the code that generates the exception specs on the
generated c++ headers, and fixes up the few places that broke
subsequently because of widening exception specs, which in turn
was due to the rather unfortunate decision to not have a virtual
dtor in XInterface.
Change-Id: I60db26e1cc4d4fe6eeef5975e39497841e92588a
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/framework/factories/ChildWindowPane.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/framework/factories/ChildWindowPane.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/framework/factories/Pane.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/Pane.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/framework/factories/ChildWindowPane.cxx b/sd/source/ui/framework/factories/ChildWindowPane.cxx index 9daa26092150..53594c0b772f 100644 --- a/sd/source/ui/framework/factories/ChildWindowPane.cxx +++ b/sd/source/ui/framework/factories/ChildWindowPane.cxx @@ -90,7 +90,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP -ChildWindowPane::~ChildWindowPane (void) throw() +ChildWindowPane::~ChildWindowPane (void) { } diff --git a/sd/source/ui/framework/factories/ChildWindowPane.hxx b/sd/source/ui/framework/factories/ChildWindowPane.hxx index b95c7f83ba98..c7745ea9421a 100644 --- a/sd/source/ui/framework/factories/ChildWindowPane.hxx +++ b/sd/source/ui/framework/factories/ChildWindowPane.hxx @@ -58,7 +58,7 @@ public: sal_uInt16 nChildWindowId, ViewShellBase& rViewShellBase, ::std::auto_ptr<SfxShell> pShell); - virtual ~ChildWindowPane (void) throw(); + virtual ~ChildWindowPane (void); /** Hide the pane. To make the pane visible again, call GetWindow(). */ diff --git a/sd/source/ui/framework/factories/Pane.cxx b/sd/source/ui/framework/factories/Pane.cxx index 2041d7348b8a..cde94e7351c7 100644 --- a/sd/source/ui/framework/factories/Pane.cxx +++ b/sd/source/ui/framework/factories/Pane.cxx @@ -49,7 +49,7 @@ Pane::Pane ( -Pane::~Pane (void) throw() +Pane::~Pane (void) { } diff --git a/sd/source/ui/inc/framework/Pane.hxx b/sd/source/ui/inc/framework/Pane.hxx index 68e8814aaf74..b602711ddb90 100644 --- a/sd/source/ui/inc/framework/Pane.hxx +++ b/sd/source/ui/inc/framework/Pane.hxx @@ -78,7 +78,7 @@ public: com::sun::star::drawing::framework::XResourceId>& rxPaneId, ::Window* pWindow) throw (); - virtual ~Pane (void) throw(); + virtual ~Pane (void); virtual void SAL_CALL disposing (void); |