diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-06-18 10:24:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-06-18 13:16:23 +0200 |
commit | 0572ef356be49b95b22a4794b7937c8c0914468f (patch) | |
tree | 3e6ee889e45f921b310f75972f0629b12609a5e6 /vcl/unx/generic/app/salinst.cxx | |
parent | 89a80d637e2831d49cdf48921f961b04fd03cffc (diff) |
loplugin:ostr in various
Change-Id: I7aa8ed716998a185996482dc561219b398a1c919
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169080
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/generic/app/salinst.cxx')
-rw-r--r-- | vcl/unx/generic/app/salinst.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/generic/app/salinst.cxx b/vcl/unx/generic/app/salinst.cxx index a77aca26482d..61c091a2d015 100644 --- a/vcl/unx/generic/app/salinst.cxx +++ b/vcl/unx/generic/app/salinst.cxx @@ -73,6 +73,7 @@ X11SalInstance::X11SalInstance(std::unique_ptr<SalYieldMutex> pMutex) , mpXLib(nullptr) { ImplSVData* pSVData = ImplGetSVData(); + // [-loplugin:ostr] if we use a literal here, we get use-after-free on shutdown pSVData->maAppData.mxToolkitName = OUString("x11"); m_bSupportsOpenGL = true; #if HAVE_FEATURE_SKIA |