@@ -116,7 +116,7 @@ Public Function SanitizeFile(strPath As String, blnReturnHash As Boolean) As Str
116
116
"NameMap = Begin" , _
117
117
"dbLongBinary ""DOL"" = Begin" , _
118
118
"dbBinary ""GUID"" = Begin"
119
- If Options.SanitizeLevel >= eslAggressive Then
119
+ If Options.SanitizeLevel >= eslStandard Then
120
120
blnInsideIgnoredBlock = True
121
121
SkipLine lngLine
122
122
End If
@@ -154,7 +154,7 @@ Public Function SanitizeFile(strPath As String, blnReturnHash As Boolean) As Str
154
154
If blnIsPassThroughQuery Then
155
155
' Ignore remaining content. (See Issue #182)
156
156
Do While lngLine < UBound(varLines)
157
- SkipLine lngLine, eslAggressive
157
+ SkipLine lngLine, eslStandard
158
158
lngLine = lngLine + 1
159
159
Loop
160
160
Exit Do
@@ -175,7 +175,7 @@ Public Function SanitizeFile(strPath As String, blnReturnHash As Boolean) As Str
175
175
SkipLine lngLine
176
176
ElseIf StartsWith(strTLine, "Checksum =" ) Then
177
177
' Ignore Checksum lines, since they will change.
178
- SkipLine lngLine, eslBasic
178
+ SkipLine lngLine, eslMinimal
179
179
ElseIf StartsWith(strTLine, "ColumnInfo =" ) _
180
180
Or StartsWith(strTLine, "BaseInfo =" ) Then
181
181
' [ColumnInfo] contains some cached info from the record source
@@ -184,24 +184,24 @@ Public Function SanitizeFile(strPath As String, blnReturnHash As Boolean) As Str
184
184
' Since the value could span multiple lines, we need to
185
185
' check the indent level of the following lines to see how
186
186
' many lines to skip.
187
- SkipLine lngLine, eslAggressive
187
+ SkipLine lngLine, eslStandard
188
188
intIndent = GetIndent(strLine)
189
189
' Preview the next line, and check the indent level
190
190
Do While GetIndent(varLines(lngLine + 1 )) > intIndent
191
191
' Skip previewed line and move to next line
192
- SkipLine lngLine + 1 , eslAggressive
192
+ SkipLine lngLine + 1 , eslStandard
193
193
lngLine = lngLine + 1
194
194
Loop
195
195
ElseIf blnIsReport And StartsWith(strLine, " Right =" ) Then
196
196
' Ignore this line. (Not important, and frequently changes.)
197
- SkipLine lngLine, eslAggressive
197
+ SkipLine lngLine, eslStandard
198
198
ElseIf blnIsReport And StartsWith(strLine, " Bottom =" ) Then
199
199
' Turn flag back off now that we have ignored these two lines.
200
- SkipLine lngLine, eslAggressive
200
+ SkipLine lngLine, eslStandard
201
201
blnIsReport = False
202
202
ElseIf StartsWith(strTLine, "WebImagePadding" ) Then
203
203
' These values tend to drift between builds. See #423
204
- SkipLine lngLine, eslAggressive
204
+ SkipLine lngLine, eslStandard
205
205
ElseIf StartsWith(strTLine, "Begin " ) Then
206
206
' Include block type name for controls
207
207
BeginBlock Mid$(strTLine, 7 )
@@ -425,7 +425,7 @@ Private Sub CloseBlock()
425
425
' unless otherwise specified.
426
426
' As discussed in #183, this can be affected by incomplete
427
427
' component definition blocks.
428
- If Options.SanitizeColors = eslAdvancedBeta Then
428
+ If Options.SanitizeColors = eslExtended Then
429
429
strKey = varBase(intCnt) & "Color"
430
430
If dBlock.Exists(strKey) Then
431
431
' Skip the dynamic color line
@@ -531,7 +531,7 @@ Public Function SanitizeVBA(strCode As String) As String
531
531
Dim lngLastLine As Long
532
532
533
533
' Skip sanitizing if not using that option.
534
- If Options.SanitizeLevel < eslAggressive Then
534
+ If Options.SanitizeLevel < eslStandard Then
535
535
SanitizeVBA = strCode
536
536
Exit Function
537
537
End If
0 commit comments