summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-19 16:47:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-19 17:46:51 +0100
commitdc53c77ad54a156267ecd2b98b7940d40ab20065 (patch)
tree6392e861dc5483fa9928191e847a01bd3a0e68f2 /chart2/source
parentccaeb1c27521fe2d95f7e12d02843613b8ad1649 (diff)
Assume that these shall indeed check full string equality
...instead of prefix match as the use of compareToAscii(RTL_CONSTASCII_STRINGPARAM(...)) prior to b380744c205089aa0b480e059bec645631010444 "Remove some RTL_* and some rtl:: prefixes in chart2" would have suggested. But the only two clients of com.sun.star.comp.chart2.WizardDialog that I could find (sc/source/ui/drawfunc/fuins2.cxx, sw/source/ui/table/chartins.cxx) indeed only use "ChartModel" and "ParentWindow". Change-Id: I0553c2c9648959ed558afb4f6cdea0e15a29cb9e
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx4
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;
}