浏览代码

* Observe doclear

git-svn-id: trunk@43416 -
michael 5 年之前
父节点
当前提交
f622f58b04
共有 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