Skip to content

Commit 807ea34

Browse files
committed
Fix ql-4-ql alerts
1 parent 6a00000 commit 807ea34

File tree

1 file changed

+3
-3
lines changed
  • javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5

1 file changed

+3
-3
lines changed

javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5/UI5Control.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ class UI5Control extends TUI5Control {
140140
}
141141

142142
/** Holds if this control reads from or writes to a model. */
143-
predicate accessesModel(UI5Model model) { accessesModel(model, _) }
143+
predicate accessesModel(UI5Model model) { this.accessesModel(model, _) }
144144

145145
/** Holds if this control reads from or writes to a model with regards to a binding path. */
146146
predicate accessesModel(UI5Model model, XmlBindingPath bindingPath) {
@@ -171,12 +171,12 @@ class UI5Control extends TUI5Control {
171171
* is set to true and never set to false anywhere
172172
*/
173173
predicate isSanitizedControl() {
174-
not this = sanitizeContentSetTo(false) and
174+
not this = this.sanitizeContentSetTo(false) and
175175
(
176176
this.getControlTypeName() = "sap/ui/richttexteditor/RichTextEditor"
177177
or
178178
this.getControlTypeName() = "sap/ui/core/HTML" and
179-
this = sanitizeContentSetTo(true)
179+
this = this.sanitizeContentSetTo(true)
180180
)
181181
}
182182

0 commit comments

Comments
 (0)