summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-02-19 22:32:26 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-20 06:05:11 +0000
commitf5b09b48c239825e1e94cdfbddb6f0d240fc133a (patch)
tree38d9a7afa1121c631fcd3685889a24be6e4b5af4 /comphelper
parent696479aafa6c43daf95c39755f8ce6b772b3938e (diff)
cppcheck: unreadVariable
Change-Id: I701431f0346727cbb039f18ade55b5a98c97a135 Reviewed-on: https://gerrit.libreoffice.org/34438 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/eventattachermgr/eventattachermgr.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx
index 46be1454c8ef..19328a73e498 100644
--- a/comphelper/source/eventattachermgr/eventattachermgr.cxx
+++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx
@@ -397,8 +397,6 @@ void SAL_CALL ImplEventAttacherManager::registerScriptEvent
// Examine the index and apply the array
std::deque<AttacherIndex_Impl>::iterator aIt = implCheckIndex( nIndex );
- std::deque< AttachedObject_Impl > aList = (*aIt).aObjList;
-
ScriptEventDescriptor aEvt = ScriptEvent;
sal_Int32 nLastDot = aEvt.ListenerType.lastIndexOf('.');
if (nLastDot != -1)