summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-06-29 09:45:49 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-06-29 09:53:41 +0200
commite67c21ee0696cde7538016a813a5cbf39fb803b0 (patch)
tree841b1b4914a60a4de951ae7a39de7249762725cc /oox
parent34dc6baf2c61f4127e6d8d89c92d8e4c37684ff5 (diff)
Search for char instead of 1 char long string, when possible.
follow-up of a7674482254ee996b1c4fee60f3064778be369aa Change-Id: I25f40c601454c092078307d931333af1bc1447ac
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index b6540014c69b..49e234405da5 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -491,7 +491,7 @@ OUString ChartExport::parseFormula( const OUString& rRange )
OSL_TRACE("ChartExport::parseFormula, parser is invalid");
//FIXME: currently just using simple converter, e.g $Sheet1.$A$1:$C$1 -> Sheet1!$A$1:$C$1
OUString aRange( rRange );
- if( aRange.indexOf("$") == 0 )
+ if( aRange.indexOf('$') == 0 )
aRange = aRange.copy(1);
aRange = aRange.replaceAll(".$", "!$" );
aResult = aRange;