diff options
Diffstat (limited to 'chart2/source/controller')
-rw-r--r-- | chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx index e2323de4799e..b212b598efac 100644 --- a/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx +++ b/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx @@ -77,7 +77,7 @@ void ChartTypeUnoDlg::implInitialize(const uno::Any& _rValue) beans::PropertyValue aProperty; if (_rValue >>= aProperty) { - if (0 == aProperty.Name.compareToAscii("ChartModel")) + if (aProperty.Name.equalsAscii("ChartModel")) m_xChartModel.set(aProperty.Value,uno::UNO_QUERY); else ChartTypeUnoDlg_BASE::implInitialize(_rValue); |