summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlfly.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-31 19:01:29 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-31 20:26:45 +0200
commit24a8ad1591e11e2905318d31106a5568f92cac2b (patch)
tree932b47225f38592f4808f21924356740be8b1590 /sw/source/filter/html/htmlfly.hxx
parent64b2207025388b6a87462f912584228a10301628 (diff)
SwHTMLPosFlyFrms: fix STL conversion:
It appears that the operator== for SwHTMLPosFlyFrm always returns false, so fbabbcefd8f8575c7b08c7a7ac7fe0b665038214 changed the semantics; use o3tl::find_partialorder_ptrequals to fix it. Change-Id: I43797d62eb95a6c5012dd486fab98a0a8b88b768
Diffstat (limited to 'sw/source/filter/html/htmlfly.hxx')
-rw-r--r--sw/source/filter/html/htmlfly.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmlfly.hxx b/sw/source/filter/html/htmlfly.hxx
index 81f3ced870e6..19b14e09153a 100644
--- a/sw/source/filter/html/htmlfly.hxx
+++ b/sw/source/filter/html/htmlfly.hxx
@@ -127,7 +127,12 @@ public:
sal_uInt8 GetOutCntnr() const { return nOutputMode & HTML_CNTNR_MASK; }
};
-class SwHTMLPosFlyFrms : public o3tl::sorted_vector<SwHTMLPosFlyFrm*, o3tl::less_ptr_to<SwHTMLPosFlyFrm> > {};
+class SwHTMLPosFlyFrms
+ : public o3tl::sorted_vector<SwHTMLPosFlyFrm*,
+ o3tl::less_ptr_to<SwHTMLPosFlyFrm>,
+ o3tl::find_partialorder_ptrequals<SwHTMLPosFlyFrm*,
+ o3tl::less_ptr_to<SwHTMLPosFlyFrm> > >
+{};
#endif