summaryrefslogtreecommitdiff
path: root/sfx2/source/control/templatelocalview.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-18 11:34:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 09:05:58 +0200
commitcdbe8a8700d5460e41d80b00310c6ff8977bc492 (patch)
treefb8f92ea13ccffad72894770ff75c8e8abc2a6c7 /sfx2/source/control/templatelocalview.cxx
parent618baf4c5b40f19be6e47e1384fbc7a6b7610416 (diff)
loplugin:constantparam
and tweak the plugin to handle a crash seen with clang-9 Change-Id: Ie1ccf80c16a20dbca58e5bd081af13f75cf5ac8f Reviewed-on: https://gerrit.libreoffice.org/75850 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/control/templatelocalview.cxx')
-rw-r--r--sfx2/source/control/templatelocalview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx
index 019eb06d3558..982811f93fc4 100644
--- a/sfx2/source/control/templatelocalview.cxx
+++ b/sfx2/source/control/templatelocalview.cxx
@@ -84,8 +84,8 @@ bool ViewFilter_Application::operator () (const ThumbnailViewItem *pItem)
return true;
}
-TemplateLocalView::TemplateLocalView ( vcl::Window* pParent, WinBits nWinStyle)
- : ThumbnailView(pParent, nWinStyle),
+TemplateLocalView::TemplateLocalView ( vcl::Window* pParent)
+ : ThumbnailView(pParent, WB_TABSTOP),
mnCurRegionId(0),
maSelectedItem(nullptr),
mnThumbnailWidth(TEMPLATE_THUMBNAIL_MAX_WIDTH),