summaryrefslogtreecommitdiff
path: root/include/tools/ref.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/ref.hxx')
-rw-r--r--include/tools/ref.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/ref.hxx b/include/tools/ref.hxx
index 45070a20a147..9cd1bf550f3e 100644
--- a/include/tools/ref.hxx
+++ b/include/tools/ref.hxx
@@ -183,7 +183,7 @@ public:
/** We only have one weak reference in LO, in include/sfx2/frame.hxx, class SfxFrameWeak.
*/
template<typename T>
-class SvCompatWeakRef
+class SAL_WARN_UNUSED SvCompatWeakRef
{
tools::SvRef< SvCompatWeakHdl<T> > _xHdl;
public: