diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-07 14:28:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-11 15:33:28 +0200 |
commit | 81fd3bb4d76a0e57a4e8464cb1c5813115ea28f3 (patch) | |
tree | 35f9c68537045403fe9deb514c7cc8b0672f4442 /vcl/qt5 | |
parent | 06f99cd5520fa431ffb74ca5dd4691e892715657 (diff) |
loplugin:redundantfcast check for std::function cast
noticed by mike kaganski
Change-Id: I210f6d2655edde74d9256c6147b7d15a88180196
Reviewed-on: https://gerrit.libreoffice.org/78743
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qt5')
-rw-r--r-- | vcl/qt5/Qt5Instance.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Instance.cxx b/vcl/qt5/Qt5Instance.cxx index 86c94ba792de..64481b64108e 100644 --- a/vcl/qt5/Qt5Instance.cxx +++ b/vcl/qt5/Qt5Instance.cxx @@ -413,7 +413,7 @@ Qt5Instance::createPicker(css::uno::Reference<css::uno::XComponentContext> const { SolarMutexGuard g; Qt5FilePicker* pPicker; - RunInMainThread(std::function([&, this]() { pPicker = createPicker(context, eMode); })); + RunInMainThread([&, this]() { pPicker = createPicker(context, eMode); }); assert(pPicker); return pPicker; } |