summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/editeng/impedit2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 34babbcedc7f..0887005cc8b1 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -460,7 +460,7 @@ void ImpEditEngine::Command( const CommandEvent& rCEvt, EditView* pView )
}
else if ( rCEvt.GetCommand() == CommandEventId::CursorPos )
{
- if ( mpIMEInfos && mpIMEInfos->nLen )
+ if (mpIMEInfos)
{
EditPaM aPaM( pView->pImpEditView->GetEditSelection().Max() );
tools::Rectangle aR1 = PaMtoEditCursor( aPaM );
@@ -529,7 +529,7 @@ void ImpEditEngine::Command( const CommandEvent& rCEvt, EditView* pView )
}
else if ( rCEvt.GetCommand() == CommandEventId::QueryCharPosition )
{
- if ( mpIMEInfos && mpIMEInfos->nLen )
+ if (mpIMEInfos)
{
EditPaM aPaM( pView->pImpEditView->GetEditSelection().Max() );
if ( !IsFormatted() )