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.
This commit is contained in:
Piotr Caban 2023-06-07 20:22:21 +02:00 committed by Alexandre Julliard
parent 14c44d0b0a
commit 8171cfb79b

View file

@ -365,7 +365,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()));