summaryrefslogtreecommitdiff
path: root/include/cppuhelper/interfacecontainer.h
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/interfacecontainer.h
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/interfacecontainer.h')
-rw-r--r--include/cppuhelper/interfacecontainer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cppuhelper/interfacecontainer.h b/include/cppuhelper/interfacecontainer.h
index 151ff6f81424..3daa656b5664 100644
--- a/include/cppuhelper/interfacecontainer.h
+++ b/include/cppuhelper/interfacecontainer.h
@@ -124,7 +124,7 @@ private:
@see OInterfaceIteratorHelper
*/
-class CPPUHELPER_DLLPUBLIC OInterfaceContainerHelper
+class SAL_WARN_UNUSED CPPUHELPER_DLLPUBLIC OInterfaceContainerHelper
{
public:
// these are here to force memory de/allocation to sal lib.
@@ -432,7 +432,7 @@ private:
can't compile addListener( const container::keyType &key ).
*/
template < class container , class keyType >
-struct OBroadcastHelperVar
+struct SAL_WARN_UNUSED OBroadcastHelperVar
{
/** The shared mutex. */
::osl::Mutex & rMutex;