summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/chart2uno.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-12 15:11:12 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 11:22:01 +0200
commit4a2d17c3a15117e91b8d158aa24d7f084596554b (patch)
treebd1337ef06f34100e58966ca14e742a7b4e654ca /sc/source/ui/unoobj/chart2uno.cxx
parentf60c67c48621c9798020628bbccbec681a05a1c8 (diff)
loplugin: defaultparams
Change-Id: Idd291659ca786b7bd2755c8faf98edc51314687b
Diffstat (limited to 'sc/source/ui/unoobj/chart2uno.cxx')
-rw-r--r--sc/source/ui/unoobj/chart2uno.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index bc67a5b5c977..e0793a22ed21 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -2269,7 +2269,6 @@ OUString SAL_CALL ScChart2DataProvider::convertRangeFromXML( const OUString& sXM
throw ( uno::RuntimeException, lang::IllegalArgumentException, std::exception )
{
const sal_Unicode cSep = ' ';
- const sal_Unicode cQuote = '\'';
if (!m_pDocument)
{
@@ -2281,14 +2280,14 @@ OUString SAL_CALL ScChart2DataProvider::convertRangeFromXML( const OUString& sXM
while( nOffset >= 0 )
{
OUString sToken;
- ScRangeStringConverter::GetTokenByOffset( sToken, sXMLRange, nOffset, cSep, cQuote );
+ ScRangeStringConverter::GetTokenByOffset( sToken, sXMLRange, nOffset, cSep );
if( nOffset >= 0 )
{
// convert one address (remove dots)
OUString aUIString(sToken);
- sal_Int32 nIndex = ScRangeStringConverter::IndexOf( sToken, ':', 0, cQuote );
+ sal_Int32 nIndex = ScRangeStringConverter::IndexOf( sToken, ':', 0 );
if ( nIndex >= 0 && nIndex < aUIString.getLength() - 1 &&
aUIString[nIndex + 1] == '.' )
aUIString = aUIString.replaceAt( nIndex + 1, 1, "" );