summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtparai.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index 736064bc226c..5ab5c10b0c75 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -1962,7 +1962,7 @@ XMLParaContext::~XMLParaContext()
{
xIdCursor->gotoRange( xEnd, sal_True );
GetImport().getInterfaceToIdentifierMapper().registerReference(
- m_sXmlId, xIdCursor);
+ m_sXmlId, Reference<XInterface>( xIdCursor, UNO_QUERY ));
}
}