summaryrefslogtreecommitdiff
path: root/binaryurp/source/binaryany.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-30 08:20:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-05-02 17:02:28 +0200
commit10d29c390dd58ed629dd27fe5ed35fae28eceec3 (patch)
tree7476cbb90fff182c5bec0a5a1ef9c41a3ad29f19 /binaryurp/source/binaryany.hxx
parenta9243e626193ab4efe3a618413886773336a38e6 (diff)
throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite
Change-Id: I076f16d0536b534abf0ced4d76051eadb4c0e033 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114949 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'binaryurp/source/binaryany.hxx')
-rw-r--r--binaryurp/source/binaryany.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/binaryurp/source/binaryany.hxx b/binaryurp/source/binaryany.hxx
index fdf52216a154..c04fe8f8624a 100644
--- a/binaryurp/source/binaryany.hxx
+++ b/binaryurp/source/binaryany.hxx
@@ -29,31 +29,31 @@ namespace binaryurp {
class BinaryAny {
public:
- BinaryAny() throw ();
+ BinaryAny() noexcept;
BinaryAny(com::sun::star::uno::TypeDescription const & type, void * value)
- throw ();
+ noexcept;
- explicit BinaryAny(uno_Any const & raw) throw ();
+ explicit BinaryAny(uno_Any const & raw) noexcept;
// takes over raw.pData (but copies raw.pType); raw must not be passed
// to uno_any_destruct
- BinaryAny(BinaryAny const & other) throw ();
+ BinaryAny(BinaryAny const & other) noexcept;
- BinaryAny(BinaryAny && other) throw ();
+ BinaryAny(BinaryAny && other) noexcept;
- ~BinaryAny() throw ();
+ ~BinaryAny() noexcept;
- BinaryAny & operator =(BinaryAny const & other) throw ();
+ BinaryAny & operator =(BinaryAny const & other) noexcept;
- BinaryAny & operator =(BinaryAny && other) throw ();
+ BinaryAny & operator =(BinaryAny && other) noexcept;
- uno_Any& get() throw () { return data_; }
+ uno_Any& get() noexcept { return data_; }
- com::sun::star::uno::TypeDescription getType() const throw ();
+ com::sun::star::uno::TypeDescription getType() const noexcept;
void * getValue(com::sun::star::uno::TypeDescription const & type) const
- throw ();
+ noexcept;
private:
mutable uno_Any data_;