diff options
author | Huzaifa Iftikhar <huzaifa3196@gmail.com> | 2016-12-26 02:51:03 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-01-04 16:02:26 +0000 |
commit | da7b10018433946dd0e0125ec5316dbe8c8b683c (patch) | |
tree | d03b9d6d1162997efa5488d62983940085a06a88 /vcl/win/gdi | |
parent | 4dad0c5b1ee1a243fbccd45ef2fc97b78aaa30a2 (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/win/gdi')
-rw-r--r-- | vcl/win/gdi/gdiimpl.cxx | 1 | ||||
-rw-r--r-- | vcl/win/gdi/gdiimpl.hxx | 1 | ||||
-rw-r--r-- | vcl/win/gdi/salnativewidgets-luna.cxx | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/vcl/win/gdi/gdiimpl.cxx b/vcl/win/gdi/gdiimpl.cxx index 9c054665d0c0..250c2c84103e 100644 --- a/vcl/win/gdi/gdiimpl.cxx +++ b/vcl/win/gdi/gdiimpl.cxx @@ -38,6 +38,7 @@ #include "outdata.hxx" #include "win/salids.hrc" +#include "ControlCacheKey.hxx" #if defined _MSC_VER #ifndef min diff --git a/vcl/win/gdi/gdiimpl.hxx b/vcl/win/gdi/gdiimpl.hxx index e8235c79f746..e6a48a1e248c 100644 --- a/vcl/win/gdi/gdiimpl.hxx +++ b/vcl/win/gdi/gdiimpl.hxx @@ -23,6 +23,7 @@ #include <vcl/gradient.hxx> #include "svsys.h" +#include "ControlCacheKey.hxx" class WinSalGraphics; diff --git a/vcl/win/gdi/salnativewidgets-luna.cxx b/vcl/win/gdi/salnativewidgets-luna.cxx index 07586b4db0df..f5a17ef33538 100644 --- a/vcl/win/gdi/salnativewidgets-luna.cxx +++ b/vcl/win/gdi/salnativewidgets-luna.cxx @@ -49,7 +49,7 @@ #include <map> #include <string> #include <boost/optional.hpp> - +#include "ControlCacheKey.hxx" using namespace std; typedef map< wstring, HTHEME > ThemeMap; |