From 791683498651a6edb017df7d211d1a014afa0899 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 25 Sep 2018 15:15:08 +0200 Subject: loplugin:useuniqueptr in XFIndex but actually this object should be held by rtl::Reference Change-Id: Iabf068bd909201af5df6f987c6dcdb64679fefbd Reviewed-on: https://gerrit.libreoffice.org/60970 Tested-by: Jenkins Reviewed-by: Noel Grandin --- lotuswordpro/inc/xfilter/xfindex.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lotuswordpro/inc') diff --git a/lotuswordpro/inc/xfilter/xfindex.hxx b/lotuswordpro/inc/xfilter/xfindex.hxx index 4fb0aa127e41..ace8353be3f6 100644 --- a/lotuswordpro/inc/xfilter/xfindex.hxx +++ b/lotuswordpro/inc/xfilter/xfindex.hxx @@ -65,6 +65,7 @@ #include #include #include +#include class XFIndex; class XFIndexTemplate; @@ -168,7 +169,7 @@ private: bool m_bProtect; bool m_bSeparator; - std::vector m_aTemplates; // template entry + style + std::vector> m_aTemplates; // template entry + style #define MAX_TOC_LEVEL 10 std::vector m_aTOCSource[MAX_TOC_LEVEL+1]; -- cgit