From d8105ab9f3c7b4e846b4422b6b0eb1dc66d806a8 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 4 Mar 2013 13:59:17 +0100 Subject: make this a real assert to find these problems earlier Change-Id: Ie23de38f5f79a7a72b6ce8d4da7aa0f5e4dd2a93 --- chart2/source/controller/dialogs/res_ErrorBar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2') diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index 4c1877824401..31f945a8d985 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -466,7 +466,7 @@ IMPL_LINK( ErrorBarResources, ChooseRange, RangeSelectionButton *, pButton ) aUIString = String( SchResId( STR_DATA_SELECT_RANGE_FOR_NEGATIVE_ERRORBARS )); } - OSL_ASSERT( m_pParentDialog ); + assert( m_pParentDialog ); if( m_pParentDialog ) { lcl_enableRangeChoosing( true, m_pParentDialog ); -- cgit