summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/ObjectHierarchy.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/main/ObjectHierarchy.cxx')
-rw-r--r--chart2/source/controller/main/ObjectHierarchy.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/main/ObjectHierarchy.cxx b/chart2/source/controller/main/ObjectHierarchy.cxx
index 3e9fd051127e..78bddb175ff8 100644
--- a/chart2/source/controller/main/ObjectHierarchy.cxx
+++ b/chart2/source/controller/main/ObjectHierarchy.cxx
@@ -778,7 +778,7 @@ bool ObjectKeyNavigation::next()
{
ObjectHierarchy::tChildContainer::const_iterator aIt(
std::find( aSiblings.begin(), aSiblings.end(), getCurrentSelection()));
- OSL_ASSERT( aIt != aSiblings.end());
+ assert(aIt != aSiblings.end());
if( ++aIt == aSiblings.end())
aIt = aSiblings.begin();
setCurrentSelection( *aIt );
@@ -798,7 +798,7 @@ bool ObjectKeyNavigation::previous()
{
ObjectHierarchy::tChildContainer::const_iterator aIt(
std::find( aSiblings.begin(), aSiblings.end(), getCurrentSelection()));
- OSL_ASSERT( aIt != aSiblings.end());
+ assert(aIt != aSiblings.end());
if( aIt == aSiblings.begin())
aIt = aSiblings.end();
--aIt;
@@ -825,7 +825,7 @@ bool ObjectKeyNavigation::down()
if( bResult )
{
ObjectHierarchy::tChildContainer aChildren = aHierarchy.getChildren( getCurrentSelection());
- OSL_ASSERT( !aChildren.empty());
+ assert(!aChildren.empty());
setCurrentSelection( aChildren.front());
}
return bResult;