summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibPDF/XRefTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibPDF/XRefTable.h')
-rw-r--r--Userland/Libraries/LibPDF/XRefTable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibPDF/XRefTable.h b/Userland/Libraries/LibPDF/XRefTable.h
index 9a2ffd4c7b..ab289f0d2b 100644
--- a/Userland/Libraries/LibPDF/XRefTable.h
+++ b/Userland/Libraries/LibPDF/XRefTable.h
@@ -140,7 +140,7 @@ struct Formatter<PDF::XRefTable> : Formatter<StringView> {
for (auto& entry : table.m_entries)
builder.appendff("\n {}", entry);
builder.append("\n}"sv);
- return Formatter<StringView>::format(format_builder, builder.to_string());
+ return Formatter<StringView>::format(format_builder, builder.to_deprecated_string());
}
};