summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/dialogs/dlg_DataSource.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_DataSource.cxx')
-rw-r--r--chart2/source/controller/dialogs/dlg_DataSource.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/dlg_DataSource.cxx b/chart2/source/controller/dialogs/dlg_DataSource.cxx
index 524bf71dd99f..71867a64cbdc 100644
--- a/chart2/source/controller/dialogs/dlg_DataSource.cxx
+++ b/chart2/source/controller/dialogs/dlg_DataSource.cxx
@@ -189,7 +189,7 @@ void DataSourceDialog::setInvalidPage( TabPage * pTabPage )
if( ! (m_bRangeChooserTabIsValid && m_bDataSourceTabIsValid ))
{
m_pBtnOK->Enable( false );
- assert(m_pTabControl);
+ OSL_ASSERT( m_pTabControl );
// note: there seems to be no suitable mechanism to address pages by
// identifier, at least it is unclear what the page identifiers are.
// @todo: change the fixed numbers to identifiers
@@ -211,7 +211,7 @@ void DataSourceDialog::setValidPage( TabPage * pTabPage )
if( m_bRangeChooserTabIsValid && m_bDataSourceTabIsValid )
{
m_pBtnOK->Enable();
- assert(m_pTabControl);
+ OSL_ASSERT( m_pTabControl );
m_pTabControl->EnableTabToggling();
}
}