From da7b10018433946dd0e0125ec5316dbe8c8b683c Mon Sep 17 00:00:00 2001 From: Huzaifa Iftikhar Date: Mon, 26 Dec 2016 02:51:03 +0530 Subject: tdf#97228 Moved class ControlCacheKey in a seperate include file. class ControlCacheKey defined in include/vcl/salnativewidgets.hxx is used only by vcl therefore it is moved to a seperate include file named ControlCacheKey.hxx which is inside vcl/inc/ControlCacheKey.hxx. This header file contains the definition of the the class ControlCacheKey. Since this class uses an object of another class named Size which is defined in gen.hxx therefore this is included in ControlCacheKey.hxx. All the files that references the class ControlCacheKey includes ControlCacheKey.hxx with the syntax: #include "ControlCacheKey.hxx" Change-Id: I7d7b3e1cf6950a953e6bbed670c1914826b2bacd Reviewed-on: https://gerrit.libreoffice.org/32422 Tested-by: Jenkins Reviewed-by: Michael Stahl --- vcl/opengl/win/gdiimpl.cxx | 1 + vcl/opengl/x11/gdiimpl.cxx | 1 + 2 files changed, 2 insertions(+) (limited to 'vcl/opengl') diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx index ce61676ccdba..4209e0c41c49 100644 --- a/vcl/opengl/win/gdiimpl.cxx +++ b/vcl/opengl/win/gdiimpl.cxx @@ -17,6 +17,7 @@ #include #include #include +#include "ControlCacheKey.hxx" static std::vector g_vShareList; static bool g_bAnyCurrent; diff --git a/vcl/opengl/x11/gdiimpl.cxx b/vcl/opengl/x11/gdiimpl.cxx index 164fc717e498..c6807de25066 100644 --- a/vcl/opengl/x11/gdiimpl.cxx +++ b/vcl/opengl/x11/gdiimpl.cxx @@ -30,6 +30,7 @@ #include #include +#include "ControlCacheKey.hxx" static std::vector g_vShareList; static bool g_bAnyCurrent; -- cgit