[Libreoffice-commits] core.git: vcl/unx
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jan 1 10:15:16 UTC 2021
vcl/unx/generic/printer/jobdata.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1c0565ccc9e0a787dd2bd7b8c88f0d36f98c170b
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Wed Dec 30 11:46:42 2020 +0100
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Jan 1 11:14:39 2021 +0100
Typo in code 'PPDContexData'->'PPDContextData' (vcl/jobdata)
Change-Id: I7cc8664ba53e6c1dc7593809848775fe6ab5f586
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108501
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/vcl/unx/generic/printer/jobdata.cxx b/vcl/unx/generic/printer/jobdata.cxx
index 3b294670ab8a..79d5cfd39ed4 100644
--- a/vcl/unx/generic/printer/jobdata.cxx
+++ b/vcl/unx/generic/printer/jobdata.cxx
@@ -174,7 +174,7 @@ bool JobData::getStreamBuffer( void*& pData, sal_uInt32& bytes )
aStream.WriteLine(aLine.makeStringAndClear());
// now append the PPDContext stream buffer
- aStream.WriteLine( "PPDContexData" );
+ aStream.WriteLine( "PPDContextData" );
sal_uLong nBytes;
std::unique_ptr<char[]> pContextBuffer(m_aContext.getStreamableBuffer( nBytes ));
if( nBytes )
@@ -266,7 +266,7 @@ bool JobData::constructFromStreamBuffer( const void* pData, sal_uInt32 bytes, Jo
bPDFDevice = true;
rJobData.m_nPDFDevice = aLine.copy(RTL_CONSTASCII_LENGTH(pdfdeviceEquals)).toInt32();
}
- else if (aLine == "PPDContexData" && bPrinter)
+ else if (aLine == "PPDContextData" && bPrinter)
{
PrinterInfoManager& rManager = PrinterInfoManager::get();
const PrinterInfo& rInfo = rManager.getPrinterInfo( rJobData.m_aPrinterName );
More information about the Libreoffice-commits
mailing list