summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-18 16:32:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-18 22:54:25 +0200
commit7bba0f12e4bb726ef29a9b7c2f862128abcaf0d7 (patch)
tree64583d3db44342afe6dafdfbfafdf1fe8b4eb328 /include/svx
parent133352645a8c10fc0d13795480a3c2f93c36a61f (diff)
UnloadObj always dereferences its SdrOle2Obj* arg
Change-Id: I24f68e83c15f7fad464ad164e75e7cd49ae17b9e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120678 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svdetc.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdetc.hxx b/include/svx/svdetc.hxx
index f594550a5aa2..8bd6b744ec46 100644
--- a/include/svx/svdetc.hxx
+++ b/include/svx/svdetc.hxx
@@ -164,7 +164,7 @@ class OLEObjCache
size_t nSize;
std::unique_ptr<AutoTimer> pTimer;
- static bool UnloadObj( SdrOle2Obj* pObj );
+ static bool UnloadObj(SdrOle2Obj& rObj);
DECL_LINK( UnloadCheckHdl, Timer*, void );
public: