summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-12-18 19:16:43 +0100
committerEike Rathke <erack@redhat.com>2012-12-18 19:24:11 +0100
commit91d3c0ce2b808e917ee45f18f2c40a58329d2c19 (patch)
treee655fa004453923432603c67d7c8e8f45c1624cf
parent7431458606db21d695b0b891f25d3617030bf0f4 (diff)
resolved fdo#58179 ImpSvNumberformatScan::RemoveQuotes: both ...
Bug crept in with String to OUString change of 1599fc9e54a7c4855bee1c30d92dd1f5be05f530 Change-Id: I25a6b40de10785bc861fa2b353edada0e4a623c9
-rw-r--r--svl/source/numbers/zforscan.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index 0b8812946c58..24c14a739b09 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 == '\\' )