[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - include/vcl

Érico Nogueira (via logerrit) logerrit at kemper.freedesktop.org
Tue May 11 06:29:22 UTC 2021


 include/vcl/sysdata.hxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 2dfecd43114a1d7e69e682d9145746e9aa18e051
Author:     Érico Nogueira <ericonr at disroot.org>
AuthorDate: Mon May 10 22:58:54 2021 -0300
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Tue May 11 08:28:48 2021 +0200

    vcl: fix build with vlc backend enabled
    
    avmedia/source/vlc/vlcplayer.cxx tries to access the aWindow member
    directly, which leads to a compilation failure, since it's private.
    
    Change-Id: I08ba00f23652ced7184aa24fd1d3ad1cef441a66
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115367
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/include/vcl/sysdata.hxx b/include/vcl/sysdata.hxx
index 63b7c810de3d..0cd0e037c823 100644
--- a/include/vcl/sysdata.hxx
+++ b/include/vcl/sysdata.hxx
@@ -73,9 +73,8 @@ struct VCL_DLLPUBLIC SystemEnvData
     // however, the GTK3 vclplug wants to store pointers in here!
     sal_IntPtr          aShellWindow;   // the window of the frame's shell
     Platform            platform;       // the windowing system in use
-private:
-    sal_uIntPtr         aWindow;        // the window of the object
 public:
+    sal_uIntPtr         aWindow;        // the window of the object
 
     void SetWindowHandle(sal_uIntPtr nWindow)
     {


More information about the Libreoffice-commits mailing list