summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-22 17:09:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-24 08:08:00 +0100
commitad73967e99235a2ba9b5a2106c5d6d0f8efaa1ca (patch)
tree5b11b7812b84c2647c64d1002bad7ed8a1d1754d /xmloff
parenta53577e6ff3629c4e9219616960d89eea9463593 (diff)
Remove unnecessary extractInterface
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/eventimport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/forms/eventimport.cxx b/xmloff/source/forms/eventimport.cxx
index 87f490f237f9..2cedb83f0c7a 100644
--- a/xmloff/source/forms/eventimport.cxx
+++ b/xmloff/source/forms/eventimport.cxx
@@ -20,7 +20,6 @@
#include "eventimport.hxx"
#include <com/sun/star/script/XEventAttacherManager.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
-#include <comphelper/extract.hxx>
#include "strings.hxx"
namespace xmloff
@@ -126,7 +125,7 @@ namespace xmloff
MapPropertySet2ScriptSequence::const_iterator aRegisteredEventsPos;
for (sal_Int32 i=0; i<nCount; ++i)
{
- ::cppu::extractInterface(xCurrent, _rxContainer->getByIndex(i));
+ xCurrent.set(_rxContainer->getByIndex(i), css::uno::UNO_QUERY);
if (xCurrent.is())
{
aRegisteredEventsPos = m_aEvents.find(xCurrent);