浏览代码

* Merging revisions r43416 from trunk:
------------------------------------------------------------------------
r43416 | michael | 2019-11-08 10:31:45 +0100 (Fri, 08 Nov 2019) | 1 line

* Observe doclear
------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43744 -

michael 5 年之前
父节点
当前提交
18e1a2db97
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      rtl/objpas/classes/stringl.inc

+ 2 - 1
rtl/objpas/classes/stringl.inc

@@ -534,7 +534,8 @@ begin
  QuoteChars in the string must be repeated to distinguish them from the QuoteChars enclosing the string.
  QuoteChars in the string must be repeated to distinguish them from the QuoteChars enclosing the string.
  }
  }
  try
  try
-  Clear;
+  if DoClear then
+    Clear;
   len:=length(AValue);
   len:=length(AValue);
   If aStrictDelimiter then
   If aStrictDelimiter then
     begin
     begin