Kaydet (Commit) c18c50cd authored tarafından Noel Grandin's avatar Noel Grandin

add SAL_WARN_UNUSED to css::uno::WeakReference and SvCompatWeakRef

Change-Id: Idb784d398ed22f2291f1beaffb82f68642d68bcd
üst 4bd8ffd2
...@@ -119,7 +119,7 @@ protected: ...@@ -119,7 +119,7 @@ protected:
@tparam interface_type type of interface @tparam interface_type type of interface
*/ */
template< class interface_type > template< class interface_type >
class WeakReference : public WeakReferenceHelper class SAL_WARN_UNUSED WeakReference : public WeakReferenceHelper
{ {
public: public:
/** Default ctor. Creates an empty weak reference. /** Default ctor. Creates an empty weak reference.
......
...@@ -183,7 +183,7 @@ public: ...@@ -183,7 +183,7 @@ public:
/** We only have one weak reference in LO, in include/sfx2/frame.hxx, class SfxFrameWeak. /** We only have one weak reference in LO, in include/sfx2/frame.hxx, class SfxFrameWeak.
*/ */
template<typename T> template<typename T>
class SvCompatWeakRef class SAL_WARN_UNUSED SvCompatWeakRef
{ {
tools::SvRef< SvCompatWeakHdl<T> > _xHdl; tools::SvRef< SvCompatWeakHdl<T> > _xHdl;
public: public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment