diff options
Diffstat (limited to 'xmloff/source/text/XMLAutoTextEventExport.cxx')
-rw-r--r-- | xmloff/source/text/XMLAutoTextEventExport.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLAutoTextEventExport.cxx b/xmloff/source/text/XMLAutoTextEventExport.cxx index ddd42571607f..68735eabde38 100644 --- a/xmloff/source/text/XMLAutoTextEventExport.cxx +++ b/xmloff/source/text/XMLAutoTextEventExport.cxx @@ -78,8 +78,7 @@ void XMLAutoTextEventExport::initialize( rArguments[1] >>= xSupplier; if (xSupplier.is()) { - Reference<XNameAccess> xAccess(xSupplier->getEvents(), UNO_QUERY); - xEvents = xAccess; + xEvents = xSupplier->getEvents(); } else { |