diff options
author | David Tardon <dtardon@redhat.com> | 2011-05-26 12:49:24 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-05-26 12:49:24 +0200 |
commit | 60d555c83c6fb56b01e5db3e2b76351faed9f718 (patch) | |
tree | e9406a7faf737e6a1afc9477b9246e24ed672ad9 | |
parent | 574d1f2004244c86d4b73d0623674d7fe4c88aa0 (diff) |
fix debug buildintegration/dev300_m106
-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 f5c25dc47..422c720d1 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()) |