diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-08-01 12:52:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-08-01 12:54:06 +0200 |
commit | 3e3acee762fac71f7356ed1305a64e0278278081 (patch) | |
tree | d7478f0c065a577b85b6a2be64cb749b49501754 /sw/inc/ndhints.hxx | |
parent | 77165efb4eb4d9735f8dd4f8c99044a36d60a611 (diff) |
sorted_vector: turn Find parameter into template
Enforces same type parameters for sorted_vector and Find, and makes
it easier to use.
Change-Id: Ide456a48f015cb0a9dea7a0bf2bcf2ccad527fd1
Diffstat (limited to 'sw/inc/ndhints.hxx')
-rw-r--r-- | sw/inc/ndhints.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/ndhints.hxx b/sw/inc/ndhints.hxx index 154c95763740..773bb1f4bfaa 100644 --- a/sw/inc/ndhints.hxx +++ b/sw/inc/ndhints.hxx @@ -76,14 +76,14 @@ struct CompareSwpHtStart bool operator()(SwTxtAttr* const lhs, SwTxtAttr* const rhs) const; }; class SwpHtStart : public o3tl::sorted_vector<SwTxtAttr*, CompareSwpHtStart, - o3tl::find_partialorder_ptrequals<SwTxtAttr*, CompareSwpHtStart> > {}; + o3tl::find_partialorder_ptrequals> {}; struct CompareSwpHtEnd { bool operator()(SwTxtAttr* const lhs, SwTxtAttr* const rhs) const; }; class SwpHtEnd : public o3tl::sorted_vector<SwTxtAttr*, CompareSwpHtEnd, - o3tl::find_partialorder_ptrequals<SwTxtAttr*, CompareSwpHtEnd> > {}; + o3tl::find_partialorder_ptrequals> {}; // Class SwpHintsArr |