summaryrefslogtreecommitdiff
path: root/include/tools/ref.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-15 12:00:55 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-01-15 12:39:46 +0000
commite15a997b153551a4c0e91964b5cff1b6269a9790 (patch)
tree93208827148e6df46ff6d24048ba92745124050d /include/tools/ref.hxx
parent9f62954369a5d77f976f616623495ad27be6b099 (diff)
loplugin:unusedmethods unused return value in include/tools
Change-Id: I77a6a46ca20cb41ed73050185fb2064a1bbf2009 Reviewed-on: https://gerrit.libreoffice.org/21485 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/tools/ref.hxx')
-rw-r--r--include/tools/ref.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/tools/ref.hxx b/include/tools/ref.hxx
index 2ca5def8d543..a16125433dda 100644
--- a/include/tools/ref.hxx
+++ b/include/tools/ref.hxx
@@ -196,8 +196,6 @@ public:
{ return _xHdl.Is() && _xHdl->GetObj(); }
inline T* operator -> () const
{ return _xHdl.Is() ? _xHdl->GetObj() : 0; }
- inline T* operator & () const
- { return _xHdl.Is() ? _xHdl->GetObj() : 0; }
inline operator T* () const
{ return _xHdl.Is() ? _xHdl->GetObj() : 0; }
};