diff --git a/tools/report-converter/codechecker_report_converter/report/hash.py b/tools/report-converter/codechecker_report_converter/report/hash.py
index 7d0ee24772..ea4e1a32e5 100644
--- a/tools/report-converter/codechecker_report_converter/report/hash.py
+++ b/tools/report-converter/codechecker_report_converter/report/hash.py
@@ -80,7 +80,7 @@ def __get_report_hash_path_sensitive(report: Report) -> List[str]:
 
         # WARNING!!! Changing the error handling type for encoding errors
         # can influence the hash content!
-        line_content = report.file.get_line(event.line)
+        line_content = event.file.get_line(event.line)
 
         if line_content == '' and \
                 not os.path.isfile(report.file.original_path):