summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-02 12:59:27 +0200
committerNoel Grandin <noel@peralex.com>2016-09-05 08:21:46 +0200
commit5fab198d0d6c2a6619cf7e5deac2f1fc969810ca (patch)
tree151225072b776d6bd9f4a3917b1a81185563af30 /vcl
parent2df04c81cf08301f8b4479471dd59352bf90b6e3 (diff)
fix usage of std::unique
in commit 26c149617c54e29902a "std::list<sal_Int32> to deque" Change-Id: Ifd6ad15d8f95512e31bac4c39d2092a53a7c0ee1
Diffstat (limited to 'vcl')
-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() )
{