summaryrefslogtreecommitdiff
path: root/forms/source/richtext/richtextmodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/richtext/richtextmodel.cxx')
-rw-r--r--forms/source/richtext/richtextmodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx
index 141b2f0df325..33aba9509c65 100644
--- a/forms/source/richtext/richtextmodel.cxx
+++ b/forms/source/richtext/richtextmodel.cxx
@@ -589,7 +589,7 @@ namespace frm
{
Sequence< sal_Int8 > aEditEngineAccessId( getEditEngineTunnelId() );
if ( ( _rId.getLength() == aEditEngineAccessId.getLength() )
- && ( 0 == rtl_compareMemory( aEditEngineAccessId.getConstArray(), _rId.getConstArray(), _rId.getLength() ) )
+ && ( 0 == memcmp( aEditEngineAccessId.getConstArray(), _rId.getConstArray(), _rId.getLength() ) )
)
return reinterpret_cast< sal_Int64 >( m_pEngine.get() );