diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-09-13 13:12:00 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-09-18 11:41:52 +0200 |
commit | 0c27134fb993b30e1a0ce827364c35f8fbaac359 (patch) | |
tree | 24c7e472d5379c05e71f023278d50625d67823e9 /vcl/inc/qt5/Qt5Instance.hxx | |
parent | fb1ef04ef8edac85f2d391c508e286621057fef6 (diff) |
Move yield mutex handling into SalInstance
After the refectoring in commit 4c93de2c921b ("merge
GenericSolarMutex and SolarMutex"), there is no more need to
prevent instantiation of comphelper::SolarMutex objects.
Since every VCL backend implements the yield mutex management in
the same way, we can move the general implementation into the
SalInstance.
While at it use std::unique_ptr for the yield mutex on Mac and
Windows platforms.
Change-Id: Ibe0610bd92b4623152ee14e7a35b52465d403720
Reviewed-on: https://gerrit.libreoffice.org/60570
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/inc/qt5/Qt5Instance.hxx')
-rw-r--r-- | vcl/inc/qt5/Qt5Instance.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/qt5/Qt5Instance.hxx b/vcl/inc/qt5/Qt5Instance.hxx index e68e55e8a5ef..a2ceae0139e2 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(std::unique_ptr<SalYieldMutex> pMutex, bool bUseCairo = false); + explicit Qt5Instance(bool bUseCairo = false); virtual ~Qt5Instance() override; virtual SalFrame* CreateFrame(SalFrame* pParent, SalFrameStyleFlags nStyle) override; |