Browse Source

* 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 years ago
parent
commit
18e1a2db97
1 changed files with 2 additions and 1 deletions
  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