summaryrefslogtreecommitdiff
path: root/vcl/inc/qt5
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-19 08:53:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-21 21:06:17 +0200
commitf05f4e042ca6ac8ae7f1d1e8e6bfb4cbba17a044 (patch)
treefe1a6ab058ed94e64c00ff171f16ee79c160e26d /vcl/inc/qt5
parent82034b04e81b74a048595b0eac0f73581ecbc9e4 (diff)
loplugin:useuniqueptr in SvpSalInstance
Change-Id: I8cab3c63ba4dcd08488d0fb34d689692d5cf97f9 Reviewed-on: https://gerrit.libreoffice.org/59347 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/qt5')
-rw-r--r--vcl/inc/qt5/Qt5Instance.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/qt5/Qt5Instance.hxx b/vcl/inc/qt5/Qt5Instance.hxx
index a6d365a7d421..e68e55e8a5ef 100644
--- a/vcl/inc/qt5/Qt5Instance.hxx
+++ b/vcl/inc/qt5/Qt5Instance.hxx
@@ -54,7 +54,7 @@ Q_SIGNALS:
bool ImplYieldSignal(bool bWait, bool bHandleAllCurrentEvents);
public:
- explicit Qt5Instance(SalYieldMutex* pMutex, bool bUseCairo = false);
+ explicit Qt5Instance(std::unique_ptr<SalYieldMutex> pMutex, bool bUseCairo = false);
virtual ~Qt5Instance() override;
virtual SalFrame* CreateFrame(SalFrame* pParent, SalFrameStyleFlags nStyle) override;