summaryrefslogtreecommitdiff
path: root/sw/source/ui/ribbar
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 11:51:35 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:54:59 +0100
commit64378f446e782b6636312a8c72a7400fd799c1a4 (patch)
tree25376336ad586c3804f16ebc05d62fb069bce74b /sw/source/ui/ribbar
parent83d8300b31948702f3c11dc14d4070501b108084 (diff)
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'sw/source/ui/ribbar')
-rw-r--r--sw/source/ui/ribbar/tbxanchr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/ribbar/tbxanchr.cxx b/sw/source/ui/ribbar/tbxanchr.cxx
index d8a95367af7d..324d802fb84d 100644
--- a/sw/source/ui/ribbar/tbxanchr.cxx
+++ b/sw/source/ui/ribbar/tbxanchr.cxx
@@ -117,7 +117,7 @@ void SwTbxAnchor::Click()
}
if(!pActiveView)
{
- OSL_ENSURE(false, "No active view found");
+ OSL_FAIL("No active view found");
return;
}
SwWrtShell* pWrtShell = pActiveView->GetWrtShellPtr();