summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/unx/generic/print/printerjob.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/print/printerjob.cxx b/vcl/unx/generic/print/printerjob.cxx
index c4f7aa3168d4..0adb3342284c 100644
--- a/vcl/unx/generic/print/printerjob.cxx
+++ b/vcl/unx/generic/print/printerjob.cxx
@@ -848,7 +848,7 @@ void PrinterJob::writeJobPatch( osl::File* pFile, const JobData& rJobData )
}
std::sort(patch_order.begin(), patch_order.end());
- std::unique(patch_order.begin(), patch_order.end());
+ patch_order.erase(std::unique(patch_order.begin(), patch_order.end()), patch_order.end());
while( !patch_order.empty() )
{