diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-29 12:03:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-29 12:03:45 +0200 |
commit | ab0a5b7523e9c287ca09d8cf2cc39e0fbf676f5b (patch) | |
tree | 5698b02229666e069f596536cc5391f6276f03ed /chart2 | |
parent | f0dfe465b83b5a0f8042a696de3a1ca81ea310dd (diff) |
Help MSVC
Change-Id: I5329ecdceb5eb590942f604b4a460d91e363d756
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/tp_DataSource.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx index c3149fea8fbe..66e8944d264b 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.cxx +++ b/chart2/source/controller/dialogs/tp_DataSource.cxx @@ -574,7 +574,7 @@ IMPL_LINK_NOARG(DataSourceTabPage, RoleSelectionChangedHdl) IMPL_LINK_NOARG(DataSourceTabPage, MainRangeButtonClickedHdl) { - OSL_ASSERT( m_pCurrentRangeChoosingField == 0 ); + OSL_ASSERT( m_pCurrentRangeChoosingField == nullptr ); m_pCurrentRangeChoosingField = m_pEDT_RANGE; if( !m_pEDT_RANGE->GetText().isEmpty() && ! updateModelFromControl( m_pCurrentRangeChoosingField )) @@ -617,7 +617,7 @@ IMPL_LINK_NOARG(DataSourceTabPage, MainRangeButtonClickedHdl) IMPL_LINK_NOARG(DataSourceTabPage, CategoriesRangeButtonClickedHdl) { - OSL_ASSERT( m_pCurrentRangeChoosingField == 0 ); + OSL_ASSERT( m_pCurrentRangeChoosingField == nullptr ); m_pCurrentRangeChoosingField = m_pEDT_CATEGORIES; if( !m_pEDT_CATEGORIES->GetText().isEmpty() && ! updateModelFromControl( m_pCurrentRangeChoosingField )) |