summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewling.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewling.cxx')
-rw-r--r--sw/source/uibase/uiview/viewling.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx
index ded1c7859b1c..caef90ad3959 100644
--- a/sw/source/uibase/uiview/viewling.cxx
+++ b/sw/source/uibase/uiview/viewling.cxx
@@ -213,7 +213,7 @@ void SwView::ExecLingu(SfxRequest &rReq)
HyphenateDocument();
break;
default:
- OSL_ENSURE(!this, "wrong Dispatcher");
+ OSL_ENSURE(false, "wrong Dispatcher");
return;
}
}
@@ -317,7 +317,7 @@ void SwView::SpellStart( SvxSpellArea eWhich,
}
break;
default:
- OSL_ENSURE( !this, "SpellStart with unknown Area" );
+ OSL_ENSURE( false, "SpellStart with unknown Area" );
}
m_pWrtShell->SpellStart( eStart, eEnde, eCurr, pConvArgs );
}
@@ -408,7 +408,7 @@ void SwView::HyphStart( SvxSpellArea eWhich )
m_pWrtShell->HyphStart( DOCPOS_OTHERSTART, DOCPOS_OTHEREND );
break;
default:
- OSL_ENSURE( !this, "HyphStart with unknown Area" );
+ OSL_ENSURE( false, "HyphStart with unknown Area" );
}
}