localspl: Don't pass original document name to cupsStartDocument.

It's used by the function to find document content type. Fixes regression
introduced by e164b8cefb.

(cherry picked from commit 8171cfb79b)
This commit is contained in:
Piotr Caban 2023-06-07 20:22:21 +02:00 committed by Alexandre Julliard
parent bdf1dcdd6a
commit c266639444

View file

@ -362,7 +362,7 @@ static BOOL cups_write_doc(doc_t *doc, const BYTE *buf, unsigned int size)
}
if (pcupsStartDocument(CUPS_HTTP_DEFAULT, doc->cups.queue, job_id,
doc->cups.doc_title, format, TRUE) != HTTP_STATUS_CONTINUE)
NULL, format, TRUE) != HTTP_STATUS_CONTINUE)
{
if (pcupsLastErrorString)
WARN("cupsStartDocument failed: %s\n", debugstr_a(pcupsLastErrorString()));