summaryrefslogtreecommitdiff
path: root/include/cppuhelper/propshlp.hxx
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/cppuhelper/propshlp.hxx
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/cppuhelper/propshlp.hxx')
-rw-r--r--include/cppuhelper/propshlp.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/cppuhelper/propshlp.hxx b/include/cppuhelper/propshlp.hxx
index a546f5c6dba4..b1f2a5082b0b 100644
--- a/include/cppuhelper/propshlp.hxx
+++ b/include/cppuhelper/propshlp.hxx
@@ -43,7 +43,7 @@ namespace cppu
/**
This interface is used by the OPropertyHelper, to access the property description.
*/
-class CPPUHELPER_DLLPUBLIC IPropertyArrayHelper
+class SAL_WARN_UNUSED CPPUHELPER_DLLPUBLIC IPropertyArrayHelper
{
public:
// these are here to force memory de/allocation to sal lib.
@@ -109,7 +109,7 @@ public:
You can use this helper class to map a XPropertySet-Interface to a XFast-
or a XMultiPropertySet interface.
*/
-class CPPUHELPER_DLLPUBLIC OPropertyArrayHelper : public IPropertyArrayHelper
+class SAL_WARN_UNUSED CPPUHELPER_DLLPUBLIC OPropertyArrayHelper : public IPropertyArrayHelper
{
public:
/**
@@ -215,10 +215,11 @@ struct hashInt32_Impl
size_t operator()(const sal_Int32 & i) const
{ return i; }
};
+
/** Specialized class for key type sal_Int32,
without explicit usage of STL symbols.
*/
-class CPPUHELPER_DLLPUBLIC OMultiTypeInterfaceContainerHelperInt32
+class SAL_WARN_UNUSED CPPUHELPER_DLLPUBLIC OMultiTypeInterfaceContainerHelperInt32
{
public:
// these are here to force memory de/allocation to sal lib.