diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-25 08:43:20 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-06-29 14:48:11 -0700 |
commit | 22a09c25c8f56e3aab3ac1de6009461b4f063862 (patch) | |
tree | 613c8119bf9d4ec54fd3098142961f6ae1722cf5 /xmloff | |
parent | f206f0d5b0409573f003f141c1c5d519ba7d74c8 (diff) |
fixes for up-casting to Reference<XInterface>
Fix regressions introduced with
6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking
Reference constructor to reduce code noise"
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
(cherry picked from commit 533c6cb6bad6ef0432e8eebbfd4daf90ef71f3b4)
Conflicts:
framework/source/uifactory/menubarfactory.cxx
Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687
Reviewed-on: https://gerrit.libreoffice.org/9921
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtparai.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index 2867e5d8b4e4..9be6cef594c2 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -1959,7 +1959,7 @@ XMLParaContext::~XMLParaContext() { xIdCursor->gotoRange( xEnd, sal_True ); GetImport().getInterfaceToIdentifierMapper().registerReference( - m_sXmlId, xIdCursor); + m_sXmlId, Reference<XInterface>( xIdCursor, UNO_QUERY )); } } |