summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2003-10-09 14:51:53 +0000
committerBjörn Milcke <bm@openoffice.org>2003-10-09 14:51:53 +0000
commit1d31d3ddad10f4756a986d583520eb6afed1a84f (patch)
treecdb1226782c1f60930236d8c27830cd07a24c7ab /chart2
parente5a88fe9cad94dd40e4e79545e034f93a6a488a0 (diff)
getSeriesByIdentifier: identifiers must be equal (prefix is not enough,
e.g. @ser1 is prefix of @ser10)
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/tools/ChartModelHelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/tools/ChartModelHelper.cxx b/chart2/source/tools/ChartModelHelper.cxx
index 50e560395c51..c7a2f971534d 100644
--- a/chart2/source/tools/ChartModelHelper.cxx
+++ b/chart2/source/tools/ChartModelHelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ChartModelHelper.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: bm $ $Date: 2003-10-06 09:58:32 $
+ * last change: $Author: bm $ $Date: 2003-10-09 15:51:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -199,7 +199,7 @@ uno::Reference< XDataSeries > ChartModelHelper::getSeriesByIdentifier(
continue;
uno::Any aAIdentifier = xProp->getPropertyValue( C2U( "Identifier" ) );
aAIdentifier >>= aIdentifier;
- if(aIdentifier.getLength() && rIdentifier.match(aIdentifier))
+ if(aIdentifier.getLength() && rIdentifier.equals(aIdentifier))
{
xRet = *aIt;
break;