Kaydet (Commit) 24a8ad15 authored tarafından Michael Stahl's avatar Michael Stahl

SwHTMLPosFlyFrms: fix STL conversion:

It appears that the operator== for SwHTMLPosFlyFrm always returns false,
so fbabbcef changed the semantics;
use o3tl::find_partialorder_ptrequals to fix it.

Change-Id: I43797d62eb95a6c5012dd486fab98a0a8b88b768
üst 64b22070
...@@ -127,7 +127,12 @@ public: ...@@ -127,7 +127,12 @@ public:
sal_uInt8 GetOutCntnr() const { return nOutputMode & HTML_CNTNR_MASK; } 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 #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment