diff options
Diffstat (limited to 'forms/source/richtext/richtextmodel.cxx')
-rw-r--r-- | forms/source/richtext/richtextmodel.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx index cca527d17578..ba25affe199f 100644 --- a/forms/source/richtext/richtextmodel.cxx +++ b/forms/source/richtext/richtextmodel.cxx @@ -122,8 +122,8 @@ namespace frm void ORichTextModel::implInit() { - OSL_ENSURE( m_pEngine.get(), "ORichTextModel::implInit: where's the engine?" ); - if ( m_pEngine.get() ) + OSL_ENSURE(m_pEngine, "ORichTextModel::implInit: where's the engine?"); + if (m_pEngine) { m_pEngine->SetModifyHdl( LINK( this, ORichTextModel, OnEngineContentModified ) ); @@ -201,7 +201,7 @@ namespace frm acquire(); dispose(); } - if ( m_pEngine.get() ) + if (m_pEngine) { SolarMutexGuard g; SfxItemPool* pPool = m_pEngine->getPool(); @@ -485,7 +485,7 @@ namespace frm void ORichTextModel::impl_smlock_setEngineText( const OUString& _rText ) { - if ( m_pEngine.get() ) + if (m_pEngine) { SolarMutexGuard aSolarGuard; m_bSettingEngineText = true; @@ -584,7 +584,7 @@ namespace frm void ORichTextModel::potentialTextChange( ) { OUString sCurrentEngineText; - if ( m_pEngine.get() ) + if (m_pEngine) sCurrentEngineText = m_pEngine->GetText(); if ( sCurrentEngineText != m_sLastKnownEngineText ) |