summaryrefslogtreecommitdiff
path: root/forms/source/solar
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/solar
parent00d5ba291e359368ee484a7c0c43281c22bd3df6 (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'forms/source/solar')
-rw-r--r--forms/source/solar/control/navtoolbar.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx
index f87cd2c9d3a6..5112bb442ab7 100644
--- a/forms/source/solar/control/navtoolbar.cxx
+++ b/forms/source/solar/control/navtoolbar.cxx
@@ -466,7 +466,7 @@ namespace frm
}
break;
default:
- OSL_ENSURE( sal_False, "NavigationToolBar::ShowFunctionGroup: invalid group id!" );
+ OSL_FAIL( "NavigationToolBar::ShowFunctionGroup: invalid group id!" );
}
if ( pGroupIds )
@@ -485,7 +485,7 @@ namespace frm
case eRecordActions : nIndicatorItem = FormFeature::SaveRecordChanges; break;
case eFilterSort : nIndicatorItem = FormFeature::SortAscending; break;
default:
- OSL_ENSURE( sal_False, "NavigationToolBar::IsFunctionGroupVisible: invalid group id!" );
+ OSL_FAIL( "NavigationToolBar::IsFunctionGroupVisible: invalid group id!" );
}
return m_pToolbar->IsItemVisible( nIndicatorItem );