lok: remove undefined behaviour warning

Change-Id: I74d015bdf2c30b85c8e9eb8271780c9999ea1f15
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144169
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144536
Tested-by: Jenkins
This commit is contained in:
Szymon Kłos
2022-12-14 17:36:10 +01:00
committed by Andras Timar
parent d3d76fe413
commit fd839a7f7a

View File

@@ -57,14 +57,6 @@ protected:
{
}
virtual ~OGenericUnoAsyncDialog() override
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard(m_aMutex);
if (m_xAsyncDialog)
destroyAsyncDialog();
}
public:
// XAsynchronousExecutableDialog
void SAL_CALL setDialogTitle(const OUString& aTitle) override