summaryrefslogtreecommitdiff
path: root/include/xmlreader
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-27 14:41:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-31 05:32:03 +0000
commit2670ca3fc597decae78499d1397539668eb84e5e (patch)
tree0ebb92fa0e1e92cf4891042046cd8fb83423c01f /include/xmlreader
parent267d6e19e393f9352ee743d213e8d82f74141877 (diff)
a whole bunch of SAL_WARN_UNUSED
Change-Id: Iea28debc7d3abc58cca21bd3856cb65b321dc1e6 Reviewed-on: https://gerrit.libreoffice.org/33693 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmlreader')
-rw-r--r--include/xmlreader/pad.hxx2
-rw-r--r--include/xmlreader/span.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/xmlreader/pad.hxx b/include/xmlreader/pad.hxx
index 7d0ebee5ec9b..433b2044300a 100644
--- a/include/xmlreader/pad.hxx
+++ b/include/xmlreader/pad.hxx
@@ -31,7 +31,7 @@
namespace xmlreader {
-class OOO_DLLPUBLIC_XMLREADER Pad {
+class SAL_WARN_UNUSED OOO_DLLPUBLIC_XMLREADER Pad {
public:
void add(char const * begin, sal_Int32 length);
diff --git a/include/xmlreader/span.hxx b/include/xmlreader/span.hxx
index f89d7a98206b..1d8bc838dc44 100644
--- a/include/xmlreader/span.hxx
+++ b/include/xmlreader/span.hxx
@@ -31,7 +31,7 @@ namespace rtl { class OUString; }
namespace xmlreader {
-struct OOO_DLLPUBLIC_XMLREADER Span {
+struct SAL_WARN_UNUSED OOO_DLLPUBLIC_XMLREADER Span {
char const * begin;
sal_Int32 length;