summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/res_ErrorBar.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 07:06:46 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 07:30:14 +1000
commit42bc6835c5af87ab15cb54c3754f7f198a22a105 (patch)
tree4c1408f26cb38601653bd279f6715a216ba9fd3a /chart2/source/controller/dialogs/res_ErrorBar.cxx
parent73b70448be98b2617461d05b3ade04c35af9a535 (diff)
tdf#43157: convert chart2 controller source from OSL_ASSERT to assert
Change-Id: I184c2c0ed74b6a94eb2366c35daf9ed386fbc36f
Diffstat (limited to 'chart2/source/controller/dialogs/res_ErrorBar.cxx')
-rw-r--r--chart2/source/controller/dialogs/res_ErrorBar.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx
index 97b5d31a4fe5..13d2e143c87b 100644
--- a/chart2/source/controller/dialogs/res_ErrorBar.cxx
+++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx
@@ -193,7 +193,7 @@ void ErrorBarResources::SetChartDocumentForRangeChoosing(
m_apRangeSelectionHelper.reset( new RangeSelectionHelper( xChartDocument ));
// has internal data provider => rename "cell range" to "from data"
- OSL_ASSERT( m_apRangeSelectionHelper.get());
+ assert(m_apRangeSelectionHelper.get());
if( m_bHasInternalDataProvider )
{
m_pRbRange->SetText(m_pUIStringRbRange->GetText());
@@ -440,10 +440,10 @@ IMPL_LINK_NOARG(ErrorBarResources, IndicatorChanged, Button*, void)
IMPL_LINK( ErrorBarResources, ChooseRange, Button*, pButton, void )
{
- OSL_ASSERT( m_apRangeSelectionHelper.get());
+ assert(m_apRangeSelectionHelper.get());
if( ! m_apRangeSelectionHelper.get())
return;
- OSL_ASSERT( m_pCurrentRangeChoosingField == nullptr );
+ assert(m_pCurrentRangeChoosingField == nullptr );
OUString aUIString;
@@ -680,7 +680,7 @@ void ErrorBarResources::FillValueSets()
void ErrorBarResources::listeningFinished(
const OUString & rNewRange )
{
- OSL_ASSERT( m_apRangeSelectionHelper.get());
+ assert(m_apRangeSelectionHelper.get());
if( ! m_apRangeSelectionHelper.get())
return;
@@ -707,14 +707,14 @@ void ErrorBarResources::listeningFinished(
m_pCurrentRangeChoosingField = nullptr;
UpdateControlStates();
- OSL_ASSERT( m_pParentDialog );
+ assert(m_pParentDialog);
if( m_pParentDialog )
lcl_enableRangeChoosing( false, m_pParentDialog );
}
void ErrorBarResources::disposingRangeSelection()
{
- OSL_ASSERT( m_apRangeSelectionHelper.get());
+ assert(m_apRangeSelectionHelper.get());
if( m_apRangeSelectionHelper.get())
m_apRangeSelectionHelper->stopRangeListening( false );
}