diff options
-rw-r--r-- | chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx index ed19ec5792e6..2776e33e0c90 100644 --- a/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx +++ b/chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx @@ -256,11 +256,11 @@ void SAL_CALL CreationWizardUnoDlg::initialize( const uno::Sequence< uno::Any >& beans::PropertyValue aProperty; if(*pArguments >>= aProperty) { - if( aProperty.Name.compareTo( "ParentWindow" ) == 0 ) + if( aProperty.Name == "ParentWindow" ) { aProperty.Value >>= m_xParentWindow; } - else if( aProperty.Name.compareTo( "ChartModel" ) == 0 ) + else if( aProperty.Name == "ChartModel" ) { aProperty.Value >>= m_xChartModel; } |