summaryrefslogtreecommitdiff
path: root/include/unoidl/unoidl.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-09-11 16:44:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-09-11 19:09:28 +0200
commit35efd72da5847a391fdba94a21ee2206ef7539c5 (patch)
treef6276f0fc83e639f62cb13b83e1a1fb260983e8b /include/unoidl/unoidl.hxx
parent2601708e3c00092693af6dd04561125cafb21d8e (diff)
clang-cl wants these the other way around
(where SAL_WARN_UNUSED expands to a "real" [[nodiscard]] attribute since 3b835b8d546ca16d7edcb06eda017e276383ea0f "Use [[nodiscard]] in SAL_WARN_UNUSED_RESULT where available", instead of an __attribute__((warn_unused_result)) language extension) Change-Id: I38d55b23c68e872b1e563e4672eda5a9512fb380 Reviewed-on: https://gerrit.libreoffice.org/60322 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/unoidl/unoidl.hxx')
-rw-r--r--include/unoidl/unoidl.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unoidl/unoidl.hxx b/include/unoidl/unoidl.hxx
index c808a360b590..abc54029e6d7 100644
--- a/include/unoidl/unoidl.hxx
+++ b/include/unoidl/unoidl.hxx
@@ -24,7 +24,7 @@
namespace unoidl {
-class LO_DLLPUBLIC_UNOIDL SAL_WARN_UNUSED NoSuchFileException final {
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL NoSuchFileException final {
public:
SAL_DLLPRIVATE NoSuchFileException(rtl::OUString const & uri): uri_(uri) {}
@@ -41,7 +41,7 @@ private:
rtl::OUString uri_;
};
-class LO_DLLPUBLIC_UNOIDL SAL_WARN_UNUSED FileFormatException final {
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL FileFormatException final {
public:
SAL_DLLPRIVATE FileFormatException(
rtl::OUString const & uri, rtl::OUString const & detail):