summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-12-23 18:46:01 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2016-12-23 17:22:46 +0000
commit6aa482428ec301cfe45672d38b038fc92de7c4a7 (patch)
tree04d375487baddb7241aa5403210ca2a699c76707 /vcl
parent76572352dde4742bce3678857da239ae2077ed0f (diff)
Make these SAL_INFO’s a bit more useful
Use the same log area used in other printing code instead of the overly broad “vcl” one. Change-Id: Ie42f10597ae9aa7ee50dba2674c68842710ab360 Reviewed-on: https://gerrit.libreoffice.org/32386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/generic/print/genprnpsp.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx
index 460247a60fca..a8fb4d143acf 100644
--- a/vcl/unx/generic/print/genprnpsp.cxx
+++ b/vcl/unx/generic/print/genprnpsp.cxx
@@ -874,7 +874,7 @@ bool PspSalPrinter::StartJob(
bool bDirect,
ImplJobSetup* pJobSetup )
{
- SAL_INFO( "vcl", "PspSalPrinter::StartJob");
+ SAL_INFO( "vcl.unx.print", "PspSalPrinter::StartJob");
GetSalData()->m_pInstance->jobStartedPrinterUpdate();
m_bPdf = false;
if (pFileName)
@@ -931,7 +931,7 @@ bool PspSalPrinter::EndJob()
else
{
bSuccess = m_aPrintJob.EndJob();
- SAL_INFO( "vcl", "PspSalPrinter::EndJob " << bSuccess);
+ SAL_INFO( "vcl.unx.print", "PspSalPrinter::EndJob " << bSuccess);
if( bSuccess && m_bPdf )
{
@@ -945,7 +945,7 @@ bool PspSalPrinter::EndJob()
SalGraphics* PspSalPrinter::StartPage( ImplJobSetup* pJobSetup, bool )
{
- SAL_INFO( "vcl", "PspSalPrinter::StartPage");
+ SAL_INFO( "vcl.unx.print", "PspSalPrinter::StartPage");
JobData::constructFromStreamBuffer( pJobSetup->GetDriverData(), pJobSetup->GetDriverDataLen(), m_aJobData );
m_pGraphics = GetGenericInstance()->CreatePrintGraphics();
@@ -969,7 +969,7 @@ void PspSalPrinter::EndPage()
{
m_aPrintJob.EndPage();
m_aPrinterGfx.Clear();
- SAL_INFO( "vcl", "PspSalPrinter::EndPage");
+ SAL_INFO( "vcl.unx.print", "PspSalPrinter::EndPage");
}
sal_uLong PspSalPrinter::GetErrorCode()
@@ -1016,7 +1016,7 @@ struct PDFPrintFile
bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i_rJobName, const OUString& i_rAppName,
ImplJobSetup* i_pSetupData, vcl::PrinterController& i_rController )
{
- SAL_INFO( "vcl", "StartJob with controller: pFilename = " << (i_pFileName ? *i_pFileName : "<nil>") );
+ SAL_INFO( "vcl.unx.print", "StartJob with controller: pFilename = " << (i_pFileName ? *i_pFileName : "<nil>") );
// mark for endjob
m_bIsPDFWriterJob = true;
// reset IsLastPage
@@ -1259,7 +1259,7 @@ bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i_rJo
for(PDFPrintFile & rPDFFile : aPDFFiles)
{
osl_removeFile( rPDFFile.maTmpURL.pData );
- SAL_INFO( "vcl", "removed print PDF file " << rPDFFile.maTmpURL );
+ SAL_INFO( "vcl.unx.print", "removed print PDF file " << rPDFFile.maTmpURL );
}
}