include/unoidl/unoidl.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 663e09800b5bde6c3bfb8655628b4d08f040fedb Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Sep 10 08:23:54 2018 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Sep 10 10:21:31 2018 +0200 Mark some exception classes as SAL_WARN_UNUSED ...so that it would have found 09978dd1fc18ce1ae707bc9e4ea1d2745ff07b61 "clang-tidy bugprone-unused-return-value" Change-Id: I75fb36618bf76110e5c32b9c2a5aeff7461a2a9a Reviewed-on: https://gerrit.libreoffice.org/60235 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/include/unoidl/unoidl.hxx b/include/unoidl/unoidl.hxx index fdd67f61acb0..c808a360b590 100644 --- a/include/unoidl/unoidl.hxx +++ b/include/unoidl/unoidl.hxx @@ -24,7 +24,7 @@ namespace unoidl { -class LO_DLLPUBLIC_UNOIDL NoSuchFileException final { +class LO_DLLPUBLIC_UNOIDL SAL_WARN_UNUSED NoSuchFileException final { public: SAL_DLLPRIVATE NoSuchFileException(rtl::OUString const & uri): uri_(uri) {} @@ -41,7 +41,7 @@ private: rtl::OUString uri_; }; -class LO_DLLPUBLIC_UNOIDL FileFormatException final { +class LO_DLLPUBLIC_UNOIDL SAL_WARN_UNUSED FileFormatException final { public: SAL_DLLPRIVATE FileFormatException( rtl::OUString const & uri, rtl::OUString const & detail): _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits