summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-12 20:38:33 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-12 20:40:59 +0200
commit1e7276f52e3e89f794711d65eaaf5221d6bd9547 (patch)
tree2f1b20a13a73d832b06a89248e8da3167cf63600 /sw
parent88f16eb151e37a8e1cc8708f75a772e3081e0ead (diff)
SwContentArr: fix C++11ism
Change-Id: Id4151d24fbb12688c7916dbcdac21ca4c6df0b42
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/utlui/content.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/ui/utlui/content.cxx b/sw/source/ui/utlui/content.cxx
index db0fcd2b6809..e14e88f73095 100644
--- a/sw/source/ui/utlui/content.cxx
+++ b/sw/source/ui/utlui/content.cxx
@@ -106,7 +106,9 @@ using namespace ::com::sun::star::container;
#define NAVI_BOOKMARK_DELIM (sal_Unicode)1
-class SwContentArr : public o3tl::sorted_vector<SwContent*, o3tl::less_ptr_to<SwContent>> {
+class SwContentArr
+ : public o3tl::sorted_vector<SwContent*, o3tl::less_ptr_to<SwContent> >
+{
public:
~SwContentArr() { DeleteAndDestroyAll(); }
};