sc/source/core/data/global.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c0da80faaf1ee70b503b4a7bb437a51219259a49 Author: Ivan Timofeev <timofeev....@gmail.com> Date: Fri Mar 15 08:40:55 2013 +0400 fix "simplify copy" the second argument is a count Change-Id: I1b6d7db8ba3ac83ef0be091c25e28ad93375d432 diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx index 3428997..1a199c7 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]; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits