summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-03-15 08:40:55 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-03-15 08:43:22 +0400
commitc0da80faaf1ee70b503b4a7bb437a51219259a49 (patch)
treed2dd0c328369af582b8703f6d3ab7d63648de950 /sc
parent9ff5720b8aa993c24fe00f1e326c3cb80b2d8eb5 (diff)
fix "simplify copy"
the second argument is a count Change-Id: I1b6d7db8ba3ac83ef0be091c25e28ad93375d432
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/global.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
index 342899745373..1a199c7b343b 100644
--- a/sc/source/core/data/global.cxx
+++ b/sc/source/core/data/global.cxx
@@ -831,7 +831,7 @@ void ScGlobal::EraseQuotes( OUString& rString, sal_Unicode cQuote, bool bUnescap
{
if ( IsQuoted( rString, cQuote ) )
{
- rString = rString.copy( 1, rString.getLength() - 1 );
+ rString = rString.copy( 1, rString.getLength() - 2 );
if (bUnescapeEmbedded)
{
sal_Unicode pQ[3];