summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/print/genprnpsp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/print/genprnpsp.cxx')
-rw-r--r--vcl/unx/generic/print/genprnpsp.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx
index 7b479816e1ec..90309c95ea53 100644
--- a/vcl/unx/generic/print/genprnpsp.cxx
+++ b/vcl/unx/generic/print/genprnpsp.cxx
@@ -907,6 +907,8 @@ void PspSalPrinter::EndPage()
SAL_INFO( "vcl.unx.print", "PspSalPrinter::EndPage");
}
+namespace {
+
struct PDFNewJobParameters
{
Size maPageSize;
@@ -943,6 +945,8 @@ struct PDFPrintFile
, maParameters( i_rNewParameters ) {}
};
+}
+
bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i_rJobName, const OUString& i_rAppName,
ImplJobSetup* i_pSetupData, vcl::PrinterController& i_rController )
{
@@ -1196,6 +1200,8 @@ bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i_rJo
return true;
}
+namespace {
+
class PrinterUpdate
{
static Idle* pPrinterUpdateIdle;
@@ -1209,6 +1215,8 @@ public:
static void jobEnded();
};
+}
+
Idle* PrinterUpdate::pPrinterUpdateIdle = nullptr;
int PrinterUpdate::nActiveJobs = 0;