summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source')
-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;
}