summaryrefslogtreecommitdiffstats
path: root/forms/source/misc/limitedformats.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:06:18 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:06:18 +0100
commit352f1a58e24c9c3ec45829111a77fa9fbd8065ab (patch)
treef4d3ec761af697a535fad86c5fec2e045c933d0e /forms/source/misc/limitedformats.cxx
parentNo WIN_ULONG needed any more (diff)
downloadcore-352f1a58e24c9c3ec45829111a77fa9fbd8065ab.tar.gz
core-352f1a58e24c9c3ec45829111a77fa9fbd8065ab.zip
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'forms/source/misc/limitedformats.cxx')
-rw-r--r--forms/source/misc/limitedformats.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/misc/limitedformats.cxx b/forms/source/misc/limitedformats.cxx
index a4707f03a25d..6066f8f522ce 100644
--- a/forms/source/misc/limitedformats.cxx
+++ b/forms/source/misc/limitedformats.cxx
@@ -81,7 +81,7 @@ namespace frm
return s_aSystem;
}
- OSL_ENSURE(sal_False, "getLocale: invalid enum value!");
+ OSL_FAIL("getLocale: invalid enum value!");
return s_aSystem;
}
@@ -135,7 +135,7 @@ namespace frm
}
}
- OSL_ENSURE(sal_False, "lcl_getFormatTable: invalid id!");
+ OSL_FAIL("lcl_getFormatTable: invalid id!");
return NULL;
}
@@ -199,7 +199,7 @@ namespace frm
}
catch(const Exception&)
{
- OSL_ENSURE(sal_False, "OLimitedFormats::ensureTableInitialized: adding the key to the formats collection failed!");
+ OSL_FAIL("OLimitedFormats::ensureTableInitialized: adding the key to the formats collection failed!");
}
#endif
}
@@ -243,7 +243,7 @@ namespace frm
}
catch(const Exception&)
{
- OSL_ENSURE(sal_False, "OLimitedFormats::setAggregateSet: invalid handle!");
+ OSL_FAIL("OLimitedFormats::setAggregateSet: invalid handle!");
}
}
#endif