summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-04-04 14:54:15 +0100
committerThorsten Behrens <tbehrens@novell.com>2011-07-06 12:03:02 +0200
commit532dc8d685fb9aa1319a589b2e0ed77d85563005 (patch)
tree2424cf4d12dd986e832af0ee6ec7efa114c9687b
parent6ae96da3506850bb3dac3ede65364887fdc45220 (diff)
fix --enable-dbgutil build
(cherry picked from commit 3764b31aae43883c6b13b91c6ad8d0daa59f4ba5) Signed-off-by: Thorsten Behrens <tbehrens@novell.com>
-rw-r--r--cui/source/options/optchart.cxx2
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())