diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-04 14:54:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-04 14:54:15 +0100 |
commit | 47dadac570311fc332c4d27ff10d5c851ffec5cc (patch) | |
tree | 988cc22a48c128a6f240eac5975d77cb02f8a45a /cui | |
parent | Improvement of adding and removing color charts (diff) | |
download | core-47dadac570311fc332c4d27ff10d5c851ffec5cc.tar.gz core-47dadac570311fc332c4d27ff10d5c851ffec5cc.zip |
fix --enable-dbgutil build
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optchart.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index 177db9a414c3..13b861f07187 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -234,7 +234,7 @@ IMPL_LINK( SvxDefaultColorOptPage, RemoveChartColor, PushButton*, pButton ) if( pColorConfig ) { - DBG_ASSERT(pColorConfig.size() > 1, "don't delete the last chart color"); + OSL_ENSURE(pColorConfig->GetColorTable().size() > 1, "don't delete the last chart color"); QueryBox aQuery(pButton, CUI_RES(RID_OPTQB_COLOR_CHART_DELETE)); aQuery.SetText(String(CUI_RES(RID_OPTSTR_COLOR_CHART_DELETE))); if(RET_YES == aQuery.Execute()) |