summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-20 14:27:53 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 13:01:47 +0100
commit52789497db9f97beb8c95177fd2293287c5dc1e6 (patch)
tree48e5c0ca0c7c433be7c0fd7bd638a50b52f945a9 /compilerplugins/clang
parent98586079c3961f32d9eaee9731ee053bc8bf1887 (diff)
wrap more stuff in VclPtr
Change-Id: Ia742c47399231bc5914b6586132ad3daf694fdb0
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/vclwidgets.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/vclwidgets.cxx b/compilerplugins/clang/vclwidgets.cxx
index ffa73a85f451..092770db5051 100644
--- a/compilerplugins/clang/vclwidgets.cxx
+++ b/compilerplugins/clang/vclwidgets.cxx
@@ -243,6 +243,8 @@ bool VCLWidgets::VisitVarDecl(const VarDecl * pVarDecl) {
&& !startsWith(pVarDecl->getType().getAsString(), "::std::multimap<sal_Int32, class OTableWindow *>")
&& !startsWith(pVarDecl->getType().getAsString(), "::dbp::OMultiInstanceAutoRegistration< ::dbp::OUnoAutoPilot<")
&& !startsWith(pVarDecl->getType().getAsString(), "SwSidebarWin_iterator")
+ && !startsWith(pVarDecl->getType().getAsString(), "functor_vector_type")
+ && !startsWith(pVarDecl->getType().getAsString(), "const functor_vector_type")
&& containsWindowSubclass(pVarDecl->getType()))
{
report(