diff options
Diffstat (limited to 'chart2/source/controller/dialogs/res_ErrorBar.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/res_ErrorBar.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index 377c7dd282af..3b1fb4fe52e1 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -393,9 +393,8 @@ IMPL_LINK( ErrorBarResources, CategoryChosen, void *, ) eOldError != CHERROR_RANGE ) { m_aCbSyncPosNeg.Check( - (m_aEdRangePositive.GetText().Len() > 0) && - m_aEdRangePositive.GetText().Equals( - m_aEdRangeNegative.GetText())); + (!m_aEdRangePositive.GetText().isEmpty()) && + m_aEdRangePositive.GetText() == m_aEdRangeNegative.GetText()); } // changed from range else if( m_eErrorKind != CHERROR_RANGE && |