svl/source/numbers/zforscan.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 91d3c0ce2b808e917ee45f18f2c40a58329d2c19 Author: Eike Rathke <er...@redhat.com> Date: Tue Dec 18 19:16:43 2012 +0100 resolved fdo#58179 ImpSvNumberformatScan::RemoveQuotes: both ... Bug crept in with String to OUString change of 1599fc9e54a7c4855bee1c30d92dd1f5be05f530 Change-Id: I25a6b40de10785bc861fa2b353edada0e4a623c9 diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx index 0b88129..24c14a7 100644 --- a/svl/source/numbers/zforscan.cxx +++ b/svl/source/numbers/zforscan.cxx @@ -2853,7 +2853,7 @@ sal_Int32 ImpSvNumberformatScan::RemoveQuotes( OUString& rStr ) sal_Int32 n = rStr.getLength() - 1; if ( c == '"' && rStr[n] == '"' ) { - rStr = rStr.copy(1,n); + rStr = rStr.copy( 1, n-1); return 2; } else if ( c == '\\' ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits