From 3a1d91045b339c00267771acd60ed5d53a90c409 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 31 Jul 2012 19:13:45 +0200 Subject: SwContentArr: fix STL conversion: It appears that the operator== for SwContent always returns false, so 81181891c93faee024799991317ac2c451f4c0c4 changed the semantics; use o3tl::find_partialorder_ptrequals to fix it. Change-Id: Ib4f040f03a9eaeec9a2973f5a93a22a387232017 --- sw/source/ui/utlui/content.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/ui/utlui/content.cxx b/sw/source/ui/utlui/content.cxx index 8e6ea32bb96a..f150239206db 100644 --- a/sw/source/ui/utlui/content.cxx +++ b/sw/source/ui/utlui/content.cxx @@ -105,7 +105,9 @@ using namespace ::com::sun::star::container; #define NAVI_BOOKMARK_DELIM (sal_Unicode)1 class SwContentArr - : public o3tl::sorted_vector > + : public o3tl::sorted_vector, + o3tl::find_partialorder_ptrequals > > { public: ~SwContentArr() { DeleteAndDestroyAll(); } -- cgit