summaryrefslogtreecommitdiff
path: root/cui/source/options/connpooloptions.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 /cui/source/options/connpooloptions.cxx
parent00d5ba291e359368ee484a7c0c43281c22bd3df6 (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'cui/source/options/connpooloptions.cxx')
-rw-r--r--cui/source/options/connpooloptions.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/connpooloptions.cxx b/cui/source/options/connpooloptions.cxx
index 988d8574c75a..158652898b43 100644
--- a/cui/source/options/connpooloptions.cxx
+++ b/cui/source/options/connpooloptions.cxx
@@ -237,7 +237,7 @@ namespace offapp
sReturn = String::CreateFromInt32(_rPos->nTimeoutSeconds);
break;
default:
- OSL_ENSURE(sal_False, "DriverListControl::implGetCellText: invalid column id!");
+ OSL_FAIL("DriverListControl::implGetCellText: invalid column id!");
}
return sReturn;
}
@@ -256,7 +256,7 @@ namespace offapp
String sReturn;
if (nRow > m_aSettings.size())
{
- OSL_ENSURE(sal_False, "DriverListControl::GetCellText: don't ask me for such rows!");
+ OSL_FAIL("DriverListControl::GetCellText: don't ask me for such rows!");
}
else
{
@@ -376,7 +376,7 @@ namespace offapp
m_pDriverList->Update(pDriverSettings->getSettings());
else
{
- OSL_ENSURE(sal_False, "ConnectionPoolOptionsPage::implInitControls: missing the DriverTimeouts item!");
+ OSL_FAIL("ConnectionPoolOptionsPage::implInitControls: missing the DriverTimeouts item!");
m_pDriverList->Update(DriverPoolingSettings());
}
m_pDriverList->saveValue();