summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/salnativewidgets-gtk.cxx
diff options
context:
space:
mode:
authorHuzaifa Iftikhar <huzaifa3196@gmail.com>2016-12-26 02:51:03 +0530
committerMichael Stahl <mstahl@redhat.com>2017-01-04 16:02:26 +0000
commitda7b10018433946dd0e0125ec5316dbe8c8b683c (patch)
treed03b9d6d1162997efa5488d62983940085a06a88 /vcl/unx/gtk/salnativewidgets-gtk.cxx
parent4dad0c5b1ee1a243fbccd45ef2fc97b78aaa30a2 (diff)
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 <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/unx/gtk/salnativewidgets-gtk.cxx')
-rw-r--r--vcl/unx/gtk/salnativewidgets-gtk.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk/salnativewidgets-gtk.cxx b/vcl/unx/gtk/salnativewidgets-gtk.cxx
index 8d0c96c42a1f..5e07ade6ea93 100644
--- a/vcl/unx/gtk/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/salnativewidgets-gtk.cxx
@@ -44,6 +44,7 @@
#include <vcl/decoview.hxx>
#include <vcl/opengl/OpenGLHelper.hxx>
+#include "ControlCacheKey.hxx"
typedef struct _cairo_font_options cairo_font_options_t;
const char* const tabPrelitDataName="libreoffice-tab-is-prelit";