summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-27 08:42:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:24:37 +0100
commitb777130dbaa617f40ca46b45722fd728e8ef248b (patch)
tree530cbb09feaa42b21790d3c0c3f11923a3a3de39 /sfx2
parent98bb12e1122d78fc5e0d05c60429a434c2f53f6e (diff)
Fix apparently broken OSL_ASSERTs (that would have never fired)
Change-Id: I10c5152ca09be49625f960e6dc3228ec2284ce58
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/ResourceManager.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx
index d3088907f847..da02db2a9356 100644
--- a/sfx2/source/sidebar/ResourceManager.cxx
+++ b/sfx2/source/sidebar/ResourceManager.cxx
@@ -370,7 +370,7 @@ void ResourceManager::ReadContextList (
}
else
{
- OSL_ASSERT("expecting three or four values per ContextList entry, separated by comma");
+ OSL_FAIL("expecting three or four values per ContextList entry, separated by comma");
continue;
}
}
@@ -378,7 +378,7 @@ void ResourceManager::ReadContextList (
const OUString sContextName (sValue.getToken(0, ',', nCharacterIndex).trim());
if (nCharacterIndex < 0)
{
- OSL_ASSERT("expecting three or four values per ContextList entry, separated by comma");
+ OSL_FAIL("expecting three or four values per ContextList entry, separated by comma");
continue;
}
@@ -436,7 +436,7 @@ void ResourceManager::ReadContextList (
}
else
{
- OSL_ASSERT("application name not recognized");
+ OSL_FAIL("application name not recognized");
continue;
}
}
@@ -450,7 +450,7 @@ void ResourceManager::ReadContextList (
const EnumContext::Context eContext (EnumContext::GetContextEnum(sContextName));
if (eContext == EnumContext::Context_Unknown)
{
- OSL_ASSERT("context name not recognized");
+ OSL_FAIL("context name not recognized");
continue;
}
@@ -463,7 +463,7 @@ void ResourceManager::ReadContextList (
bIsInitiallyVisible = false;
else
{
- OSL_ASSERT("unrecognized state");
+ OSL_FAIL("unrecognized state");
continue;
}