summaryrefslogtreecommitdiffstats
path: root/vcl/unx/generic/printer/cupsmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/printer/cupsmgr.cxx')
-rw-r--r--vcl/unx/generic/printer/cupsmgr.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/unx/generic/printer/cupsmgr.cxx b/vcl/unx/generic/printer/cupsmgr.cxx
index 12482b2ba878..17e8112f4bff 100644
--- a/vcl/unx/generic/printer/cupsmgr.cxx
+++ b/vcl/unx/generic/printer/cupsmgr.cxx
@@ -44,6 +44,8 @@
using namespace psp;
using namespace osl;
+namespace {
+
struct GetPPDAttribs
{
osl::Condition m_aCondition;
@@ -116,6 +118,8 @@ struct GetPPDAttribs
}
};
+}
+
extern "C" {
static void getPPDWorker(void* pData)
{
@@ -593,12 +597,16 @@ FILE* CUPSManager::startSpool( const OUString& rPrintername, bool bQuickCommand
return fp;
}
+namespace {
+
struct less_ppd_key
{
bool operator()(const PPDKey* left, const PPDKey* right)
{ return left->getOrderDependency() < right->getOrderDependency(); }
};
+}
+
void CUPSManager::getOptionsFromDocumentSetup( const JobData& rJob, bool bBanner, int& rNumOptions, void** rOptions )
{
rNumOptions = 0;