summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/print/printerjob.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/print/printerjob.cxx')
-rw-r--r--vcl/unx/generic/print/printerjob.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/generic/print/printerjob.cxx b/vcl/unx/generic/print/printerjob.cxx
index 7d805ef942e5..6985ecf78c9f 100644
--- a/vcl/unx/generic/print/printerjob.cxx
+++ b/vcl/unx/generic/print/printerjob.cxx
@@ -632,12 +632,16 @@ PrinterJob::EndPage ()
pPageBody->close();
}
+namespace {
+
struct less_ppd_key
{
bool operator()(const PPDKey* left, const PPDKey* right)
{ return left->getOrderDependency() < right->getOrderDependency(); }
};
+}
+
static bool writeFeature( osl::File* pFile, const PPDKey* pKey, const PPDValue* pValue, bool bUseIncluseFeature )
{
if( ! pKey || ! pValue )