diff options
Diffstat (limited to 'forms/source/richtext')
-rw-r--r-- | forms/source/richtext/richtextmodel.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx index 84c103ae6a2b..7498a4a9d2b8 100644 --- a/forms/source/richtext/richtextmodel.cxx +++ b/forms/source/richtext/richtextmodel.cxx @@ -29,7 +29,6 @@ #include <com/sun/star/text/WritingMode2.hpp> #include <com/sun/star/style/VerticalAlignment.hpp> -#include <cppuhelper/typeprovider.hxx> #include <comphelper/guarding.hxx> #include <comphelper/servicehelper.hxx> #include <svl/itempool.hxx> @@ -549,7 +548,7 @@ namespace frm sal_Int64 SAL_CALL ORichTextModel::getSomething( const Sequence< sal_Int8 >& _rId ) { if (comphelper::isUnoTunnelId<ORichTextModel>(_rId)) - return reinterpret_cast< sal_Int64 >( m_pEngine.get() ); + return comphelper::getSomething_cast(m_pEngine.get()); // Note returning a different type Reference< XUnoTunnel > xAggTunnel; if ( query_aggregation( m_xAggregate, xAggTunnel ) ) |