From c0da80faaf1ee70b503b4a7bb437a51219259a49 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Fri, 15 Mar 2013 08:40:55 +0400 Subject: fix "simplify copy" the second argument is a count Change-Id: I1b6d7db8ba3ac83ef0be091c25e28ad93375d432 --- sc/source/core/data/global.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') 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]; -- cgit